Linux userdel command
Linux userdel command to delete user accounts.
userdel to delete a user account and related files. Without additional parameters, only delete user accounts without deleting the related files.
grammar
userdel [-r][用户帐号]
Parameter Description:
- -r Remove user login directory and all the files in the directory.
Examples
Delete user accounts
# userdel hnlinux