background
|
|
RiscOS
Risc OS Info
All you need to know about Risc OS and more.
More icon

News
All in one Place
All of your regular news in one place.
More icon
|
|
Up Image
Navigation
Search this Site
Enter your search terms

Site Breadcrumb - You are here
|
Reference   Unix Guide

rm

rm removes or deletes files from a directory.

Structure: rm [options] files

In order to remove a file, you must have write permission to the directory where the file is located. When removing a file that you do not have write permission on, a prompt will come up asking you whether or not you wish to override the write protection.

The -r option is very handy and very dangerous. -r can be used to remove a directory and all its contents. If you use the -i option, you can possibly catch some disastrous mistakes because it'll ask you to confirm whether you really want to remove a file before going ahead and doing it.

Back to the index.