- Home
- Linux
- Misc
- Windows basic tutorials
- Introduction to windows
- Windows pre-installation
- Windows Installation
- Windows xp desktop
- Log on for the first time
- Windows XP control panel
- Managing Folders in Windows XP
- Outlook Express Setup
- How to import address book in Outlook Express
- Import Ms Exchange inbox file(.pst) into Ms Outlook 2003
- Import Outlook Express email messages into Ms Outlook 2003
- How to mount and unmount usb drive (thumb drive) in Windows
- House keeping - Keep your Windows clean and tidy
- Windows basic tutorials
- CMS
- Blog
- Disclaimer
- Privacy Policy
- Support
- Contact
How to delete user account using Linux userdel command
Submitted by jinlusuh on Tue, 07/07/2009 - 10:02
The Linux userdel command is a very simple command. It just did what the name says, delete user. View the manual page and you can see that, in Slackware synopsis, userdel command has only one option:
SYNOPSIS |
The -r option when used with userdel command will removed user's home directory and the mail spool. If there are other files in other directory, you have to remove them manually.
Let's practice using this command now. We are going to delete the user account we created just now, karim user account. As you can see from the manual above, the format for userdel is userdel -r login.
[email protected]:~# userdel -r karim |
That's it. You can no longer login with that username.
Back to Linux basic commands main page.

Add new comment