LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Alan Kennington <akenning@dog.topology.org>
  To  : Allan <allan@choska.bold.net.au>
  Date: Tue, 24 Apr 2001 23:37:31 +0930

Re: Just an observation. was: [RE: MS Curriculum at schools and TAFEs ...]

On Tue, Apr 24, 2001 at 10:01:15PM +0930, Allan wrote:
> On Tue, 24 Apr 2001, Andrew Reid wrote:
> > On 24 Apr 2001 11:56:42 +0930, Jason Tan wrote:
> > 
> > > This point is very debatable even eperienced unix administratorts make
> > > mistakes as root.
> > 
> > Depends how experienced. It's not often that you 'accidently' type 
> > rm -rf /
> 
> Just often enough to remind you to ask yourself: whoami
> 


How about this:

    rm -r .*

to get rid of all those pesky hidden files.
I used to do that sometimes.

And with a bit of faulty typing, this

    rm *~

turned into

    rm * ~

This happened to me so often that I had to create
a subdirectory .bkp in every one of my development
directories and create a "make" target "bkp" so that
"make bkp" would copy everything valuable to .bkp.
This was just because of the above style of error.

I guess this all shows that the way they used to define

alias rm rm -i

on the old Pyramid unix computers in the default .cshrc file
for beginners was actually a good idea.

Cheers,
Alan Kennington.

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page