ltcp/aufgabe3/deleteuser

10 lines
144 B
Plaintext
Raw Normal View History

2013-11-04 22:14:21 +00:00
#!/bin/bash
# check for arguments
if [[ $# -ne 1 || -z "$1" ]]; then
echo "USAGE: $0 username" 1>&2
exit 1
fi
userdel -r "$1"