LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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, 01: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, 03:02 PM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
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 12:21 AM
diference between /etc/fstab and /etc/mtab cnm Linux - Newbie 4 11-21-2006 05:54 AM
what's diference betwen core fonts and xft fonts? xcore_on Linux - Newbie 2 04-29-2006 08:11 PM
whats the diference... JT13 Linux - Distributions 1 06-01-2005 07:16 PM
Real-life speed diference between 386,586 and 686 optimized distros Embedded Linux - Distributions 4 06-19-2003 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:59 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
Open Source Consulting | Domain Registration