Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux userdel Command

Linux userdel Command

Linux Command Reference Linux Command Reference

The Linux userdel command is used to delete user accounts.

userdel can delete user accounts and related files. If no arguments are given, only the account is deleted, not the related files.

Syntax

userdel [-r][用户帐号]

Parameter Description:

Example

Delete a user account

# userdel hnlinux

Linux Command Reference Linux Command Reference