Web Hosting Sitemap  
Find Affordable Web Hosting Providers - Tophosts.com
  

Find Affordable Web Hosting


Go Back   Web Hosting Forum - Webhosting Discussions at TopHosts.Com > Technical Hosting Forum
User Name
Password


Reply
 
Thread Tools Display Modes
Old 12-05-2006, 04:41 PM   #1
The-REV
Junior Hoster
 
Join Date: Dec 2006
Posts: 14
The-REV is on a distinguished road
Default On rm command

How to delete files in Linux (rm command)

rm [options] files

Delete one or more files. To remove a file, you must have write permission in the directory that contains the file, but you need not have permission on the file itself. If you do not have write permission on the file, you will be prompted (y or n) to override. rm is often aliased to rm -i, especially for the root user, to protect against inadvertently deleting files.
Options
-d, --directory

Remove directories, even if they are not empty. Available only to a privileged user.
-f, --force

Remove write-protected files without prompting.
--help

Print a help message and then exit.
-i, --interactive

Prompt for y (remove the file) or n (do not remove the file).
--no-preserve-root

Do not treat root (/) specially. This is the default.
--preserve-root

Do not operate recursively on root (/).
-r, -R, --recursive

If file is a directory, remove the entire directory and all its contents, including subdirectories. Be forewarned: use of this option can be dangerous.
-v, --verbose

Verbose mode (print the name of each file before removing it).
--version

Print version information and then exit.
--

Mark the end of options. Use this when you need to supply a filename beginning with -.
__________________
The-REV
http://macarlohost.net/
Trusted Since 1997
The-REV is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


» Links
   webmaster forums
   merchant select

» Links


All times are GMT -4. The time now is 08:23 PM.




SEO by vBSEO 2.4.0