Re: Why preceed a "rm" command with a backslash?
- From: "Chris F.A. Johnson" <cfajohnson@xxxxxxxxx>
- Date: 2 Sep 2009 03:50:59 GMT
On 2009-09-02, Randal L. Schwartz wrote:
"Sidney" == Sidney Lambe <sidneylambe@xxxxxxxxxxxxxx> writes:
Sidney> That runs rm as if you had entered /usr/bin/rm.
Sidney> The idea is to run it without any options: It could be renamed
Sidney> with an alias to something like rm -i, which is
Sidney> pretty common.
And I argue, very wrong.
Absolutely!
But that doesn't keep idiots from doing it.
Some Linux distributions do it. That's why I always start my
.bashrc file with "unalias -a".
--
Chris F.A. Johnson, author <http://cfaj.freeshell.org/shell/>
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
===== My code in this post, if any, assumes the POSIX locale
===== and is released under the GNU General Public Licence
.
- Follow-Ups:
- Re: Why preceed a "rm" command with a backslash?
- From: Sidney Lambe
- Re: Why preceed a "rm" command with a backslash?
- References:
- Why preceed a "rm" command with a backslash?
- From: DavidFilmer
- Re: Why preceed a "rm" command with a backslash?
- From: Sidney Lambe
- Re: Why preceed a "rm" command with a backslash?
- From: Randal L. Schwartz
- Why preceed a "rm" command with a backslash?
- Prev by Date: Re: Removing several characters in some column of the file
- Next by Date: Re: File underscore rename script
- Previous by thread: Re: Why preceed a "rm" command with a backslash?
- Next by thread: Re: Why preceed a "rm" command with a backslash?
- Index(es):
Relevant Pages
|