How to Delete User in Linux

How to Delete User in Linux

In this tutorial i will explain How to Delete User in Linux, Earlier we have learnt How To Create User In Linux. We have two options here to delete a user.

1. Without User home directory.

2. With home directory.

Command:

-- User delete without home directory--
userdel username

-- User delete with home directory--
userdel -rf username