I have to remove an a directory and all its files. How do I do this?
rmdir -f help (didn't work)
ps: help is filled with files.
I need an answer in the next hour.
thanks in advance
I have to remove an a directory and all its files. How do I do this?
rmdir -f help (didn't work)
ps: help is filled with files.
I need an answer in the next hour.
thanks in advance
Try:
The i stands for "interactive," and prompts you about each file. Safer is to use a file manager to move the directory to trash.Code:rm -ri /path/to/dir
I am aware of all internet traditions. | Getting the best help | Text formatting codes | My last.fm profile
Should I PM support questions? NO!
What do you mean "help is filled with files"? Hopefully you're not deleting anything outside your /home.
I am aware of all internet traditions. | Getting the best help | Text formatting codes | My last.fm profile
Should I PM support questions? NO!
perhaps look up the "rm" command.
specifically take a look at the Options for --recursiveCode:man rm
its a good idea to use the full path to the folder to make sure you don't delete something you didn't mean to.
Thanks for the replies. I went around the problem by graphically logging in to the remote computer. Whoever said that help was a directory was correct.
Before I had graphical capabilities,it was necessary for me to know how to do it using the command line. But now I can right click and delete things.
Thanks for the quick responses, I got them on time. Just didn't bother to reply until now.
Cheers - CC7
Bookmarks