LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2009, 06:12 PM   #1
Nemesissparadise
Member
 
Registered: Nov 2007
Location: North Pole Alaska
Distribution: Fedora
Posts: 127

Rep: Reputation: 15
Deleting home directory of deleted user


ok i had a user on my computer i deleted but when i deleted the user i failed to delete the home directory and now it is taking up valuable hard drive space so can someone tell me how to delete the home folder or do i have to reformat now
I am running Ubuntu 8 will be updating to 9 when its stable any help is appreciated if i havent given enough information let me know thanks in advance
 
Old 04-15-2009, 06:28 PM   #2
amishtechie
Member
 
Registered: Apr 2004
Location: Oberlin, OH
Distribution: Slackware
Posts: 119

Rep: Reputation: 16
You can delete it with sudo rm -rf /home/username. Just make sure there is nothing there you need.
 
Old 04-15-2009, 06:45 PM   #3
baig
Member
 
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

Rep: Reputation: 38
Enjoy seeing every file being deleted.. with verbose option in rm

Code:
sudo rm -vrf /home/username
 
Old 04-16-2009, 12:06 PM   #4
Nemesissparadise
Member
 
Registered: Nov 2007
Location: North Pole Alaska
Distribution: Fedora
Posts: 127

Original Poster
Rep: Reputation: 15
ok thanks that definitely did it
 
  


Reply

Tags
directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Emergency : accidently deleted my user directory Vassos Linux - Newbie 4 11-20-2007 06:33 PM
Deleted /var/mail/user directory Maeltor *BSD 2 05-20-2006 03:03 PM
Reinstalling FC 4 without deleting /home directory BerryBlocksta9 Fedora 4 01-25-2006 03:50 AM
Home Directory & C drive deleted at same time Wen Win Linux - Newbie 1 12-17-2005 07:53 AM
Mandrake 9.2 deleted my home directory on an upgrade. bolinux Mandriva 5 11-18-2003 07:27 PM


All times are GMT -5. The time now is 05:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration