userdel (remove account)
Deletes user account from system.
Format: userdel user
Examples: userdel janet2
Opt | What It Does | Examples |
---|---|---|
-r | Delete home directory, with its files | useradd -g janet2 janet2 |
Get Spring Into Linux® now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.