Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Others => Miscellaneous => Topic started by: Noob on December 03, 2007, 09:53:37 PM
-
Unfortunately I am very new to linux but have I have assigned some crictical operation on our linux server.
I have to delete a directory and all its content from server from command line interface.
How I do ?
rm <filename> say directory not empty.
-
You should see man page for "rm"
Try following command:
rm -rf <filename>
-
:) Ok u want delete the folder at a time with inside all contentents of files & folders
Below given the command Type in Terminal ....
# rm -rf <filename or foldername>
-
Thankyou Satyam and Ricky
It worked like charm :)
-
Hi,
It is so easy to delete ----
# rm -rf <file or directory name>