Completely delete a user including the home directory in ubuntu Linux
This post was written by admin on September 16, 2009
Posted Under: General
Posted Under: General
If you want to remove a user from your Linux system,you may also want to erase the home directory completely.
To delete a user as well as the home directory,you can use this command in terminal window:
sudo deluser --remove-home username_here
If you have deleted the user,you can delete its home directory by typing:
sudo rm -r /home/username
Done.
Related posts:
- How to Share Ubuntu Home Directory with Windows
- Automatically Delete Files older than N days From Trash using Autotrash
- How to Delete Useless Ubuntu Gnome Desktop Themes
- Voice and video chat plugin for Google Gmail user in Ubuntu Linux
- Save Ubuntu space-auto-delete downloaded packages after installation
Tags: desktop

Reader Comments
JuqGKf I want to say – thank you for this!
[Reply]
vJhNYL I want to say – thank you for this!
[Reply]