Results 1 to 7 of 7
I'm very new to Linux and it's terminal.I've been learning some basics commands and on my way there,I created a random folder with random files.
Basically what it says in ...
- 07-27-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 10
rmdir command problem?
I'm very new to Linux and it's terminal.I've been learning some basics commands and on my way there,I created a random folder with random files.
Basically what it says in the terminal help:--ignore-fail-on-non-empty which is to delete a folder even with files within them.I used to do this like a few hours ago but now it doesnt work.It doesn't delete nothing.
Help?
P.S.:I puted the verbose flag but they were no errors... 0-0
- 07-27-2010 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
welcome to the forum
"rmdir" works only on empty directories; try "rm -r"the sun is new every day (heraclitus)
- 07-27-2010 #3Just Joined!
- Join Date
- Jul 2010
- Posts
- 10
Thanks for your reply but the flag -r does not exist for the command rm . I need to delete each of them seperately.Any other possibilities?
- 07-28-2010 #4
What happens when you execute?
rm -rf filetobedeleted
as su or sudo. Kindly make sure that you got the path right too.
nujinini
Linux User #489667
- 07-28-2010 #5
I would suggest you to check linuxcommand.org
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 07-28-2010 #6Just Joined!
- Join Date
- Jul 2010
- Posts
- 10
Thank you for your responses.THe rm -rf command resolved my problems and also the site provided by devilcasper will be a great help.
Also can someone explain me in detail what is the -rf flag?
- 07-28-2010 #7Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 1,946
the r is for recursive, the f is for force. Rather than repeat others, just check these links:
rm (Unix) - Wikipedia, the free encyclopedia
Help -


Reply With Quote