English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux userdel command

Linux Command大全

The Linux userdel command is used to delete user accounts.

The userdel command can delete user accounts and related files. If no parameters are added, only the user account will be deleted, not the related files.

Syntax

userdel [-r][User Account]

Parameter Description:

  • -r Delete user login directory and all files in the directory.

Online Examples

Delete User Account

# userdel hnlinux

Linux Command大全