Categories
Linux

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:

1-- User delete without home directory--
2userdel username
3 
4-- User delete with home directory--
5userdel -rf username