Thread
:
n800 and 'others-menu'
View Single Post
Milhouse
2007-01-31 , 10:31
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#
2
My first thought, which you might not appreciate, is that you shouldn't be logged in as root if you don't know how to delete a directory!
The delete command is rm (remove), and to delete an entire directory you need to specify the -r switch (ie. rm -r) which will recursivly delete the directory and all files. So, to remove your directory:
Code:
cd /etc rm -r ./others-menu
Be careful though, as one wrong slip could result in you deleting most of your filesystem (ie. emptying the device of files!)
Quote & Reply
|
The Following User Says Thank You to Milhouse For This Useful Post:
Milhouse
View Public Profile
Send a private message to Milhouse
Find all posts by Milhouse