basic command pipe question

Berna Massingill bmassing at cs.trinity.edu
Wed Jun 21 17:20:25 UTC 2006


On Sun, Jun 18, 2006 at 08:25:22PM -0700, Don Russell wrote:

>>  Todd Zullinger wrote:
>>  >-----BEGIN PGP SIGNED MESSAGE-----
>>  >Hash: SHA1
>>  >
>>  >Don Russell wrote:
>>  >  
>>  >>I need some basic CLI help. :-) I've googled, and read, and I can't
>>  >>find how to erase a bunch of files in one go.

[ snip ]

>>  >Of course, it's best to run these without the -f option or only on a
>>  >copy of your files until you're sure that it works as you expect it to
>>  >work.
>>  >  
>>  
>>  Yes, I've been doing that and then replying "n" to the prompts.... :-)

"The prompts"?  Yipes.  

rm shouldn't be prompting, unless called with the "-i" option,
should it?  I guess some .bashrc files do alias "rm" to "rm -i",
though, and some people think this is safer for beginners, though my
experience is that it leads to replying "y" to the prompts without
thinking, which kind of defeats the purpose ....  Seems to me that
it makes more sense to explicitly request this behavior only when
you actually want it.  YMMV, maybe.

-- 
-- blm




More information about the fedora-list mailing list