Remove a File

$ cat apple.txt
worm seed
$ 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 Search · star Market
2020-04-25 · John December · Terms © December Communications, Inc.