Webmonkey
Powered by Atomz.com



Quick Reference:

Javascript Code Library
HTML Cheatsheet
Special Characters
Color Codes
Browser Chart
Stylesheet Guide
• Unix Guide
Glossary
Domain Registries

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.



Feedback  |  Help  |  About Us  |  Contribute  |  Jobs
Advertise  |  Privacy Statement  |  Terms and Conditions

Copyright © 1994-2000 Wired Digital Inc., a Lycos Network site. All rights reserved.