Remove files using linux command
by satheeshkumar[ Edit ] 2012-07-13 13:05:16
Remove files using linux command,
Deleting Files:
$ rm filename
Deleting Directories:
$ rmdir directory name
One alternative to remove all the contents of a directory that you just want to make disappear is to use the rm -r command. The -r flag gives rm license to kill directories, their files, and even their subdirectories. Be very sure you understand what's about to happen before using a command like this:
$ rm -r directory name