LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-23-2008, 02:05 PM   #1
visitnag
Member
 
Registered: Mar 2008
Posts: 147

Rep: Reputation: 15
diference between rm -rf and \rm


Kindly let me know which one is safe to use to delete a directory recursively... rm -rf or \rm. What is the difference between these two
 
Old 08-23-2008, 04:02 PM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
The -rf option to rm is recursive, force delete, respectively.

The \ in front of rm tells the shell to not perform alias matching, so any rm alias you might have is bypassed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Uninstall - Delete,what's the diference? alan_ri Linux - General 10 02-23-2008 01:21 AM
diference between /etc/fstab and /etc/mtab cnm Linux - Newbie 4 11-21-2006 06:54 AM
what's diference betwen core fonts and xft fonts? xcore_on Linux - Newbie 2 04-29-2006 09:11 PM
whats the diference... JT13 Linux - Distributions 1 06-01-2005 08:16 PM
Real-life speed diference between 386,586 and 686 optimized distros Embedded Linux - Distributions 4 06-19-2003 01:21 PM


All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration