[Gllug] Is this funny

Christian Smith csmith at micromuse.com
Thu Jan 3 21:51:34 UTC 2002


On Thu, 3 Jan 2002, Alain Williams wrote:

>On Wed, Jan 02, 2002 at 04:03:01PM -0000, Jackson, Harry wrote:
>> > -----Original Message-----
>> > From: Vincent AE Scott [mailto:gllug at codex.net]
>> >
>> > i was sat next to someone once, doing support, who'd noticed that
>> > someone had added a root2 act to his solaris box.  he then
>> > preceded to
>> > use the lovely gui admintool to remove the user.  and the
>> > home directory.
>> > he turned to me and said 'what does it mean by command ls not found?'
>> > with his disk going apeshit in the background.  laugh? I almost sh**
>> > myself. ;-)
>>
>> Has anyone done this
>>
>> rm -Rf * .sh
>>
>> when you really meant
>>
>> rm -Rf *.sh
>
>No, but in a directory where I was writing C programs:
>
>	rm *>o
>
>Think about it, and the timing involved in hitting different keys (like shift).

In a directory where you have anything you CAN'T lose (like / etc.) do:
# touch -- -i

This way, rm *>o or rm * .o or whatever will expand to:
$ rm -i <files> .o

and confirm each deletion.


-- 
    /"\
    \ /    ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
     X                           - AGAINST MS ATTACHMENTS
    / \


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list