How To Delete a User in Linux - Quick Guide
1 min. read
Published on
Read our disclosure page to find out how can you help MSPoweruser sustain the editorial team Read more
![how to delete a user in linux](https://mspoweruser.com/wp-content/uploads/2023/12/how-to-delete-a-user-in-linux-886x590.png)
Don’t know how to delete a user in Linux? For this, execute the userdel command:
1. Press CTRL+ALT+T to open the terminal.
2. Type “sudo userdel username” and hit Enter.
![deleting a user with userdel command](https://mspoweruser.com/wp-content/uploads/2023/12/deleting-a-user-with-userdel-command.png)
3. Run the “cat /etc/passwd” command for verification.
![checking the content of passwd file](https://mspoweruser.com/wp-content/uploads/2023/12/checking-the-content-of-passwd-file.png)
You may also be interested in:
So, now you know how to delete a user in Linux. Feel free to share any tips in the comments below!