Remove a File

$ cat apple.txt
core
worm seed
jewel
$ rm apple.txt
$ cat apple.txt
cat: apple.txt: No such file or directory
$ 

Removing all files in a directory and the directory itself

Use with caution!
$ rm -fr /bin/laden
$ 

Note: the above example assumes you have permissions to remove the directory.

Save this page to any social bookmarking site! Share · Search · Market · Directory
2015-11-01 · John December · Contact · Terms of Use © December Communications, Inc.