Linux Comm Userdel
# Linux userdel Command
[ Linux Command Manual](#)
The Linux userdel command is used to delete a user account.
userdel can delete a user account and related files. If no parameters are added, it only deletes the user account without deleting the related files.
### Syntax
userdel
**Parameter Description**:
* -r Delete the user's login directory and all files within that directory.
### Example
Delete a user account
# userdel hnlinux
[ Linux Command Manual](#)
YouTip