Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-23 Thread Kapil Hari Paranjape
Hello, On Fri, 20 Jun 2008, Kapil Hari Paranjape wrote: > Apropos "rm -rf /". > > On Fri, 20 Jun 2008, Arun Khan wrote: > > Seriously, has anyone tried it? > > I recall doing this once with user-mode-linux but didn't record the > session. You may want to try it with u-m-l or with qemu. It hurts

Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-22 Thread Arun Khan
On Saturday 21 Jun 2008, Masatran, R. Deepak wrote: > * Bharathi Subramanian <[EMAIL PROTECTED]> 2008-06-20 > > > $ rm f? -- Remove all files, whose name start with f and > >followed by single char. > > > > $ rm f* -- Remove all files, whose name starting with f. > > It would be better

Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-21 Thread Arun Tejasvi Chaganty
On Fri, 2008-06-20 at 14:09 -0400, Arun Velusamy wrote: > > > >see here a nice video what "sudo rm -rf /' does. > > >http://www.youtube.com/watch?v=wWOjmvWPRvQ > Thanks for that! I loved the fact that the kitty's life was at stake, but the music was in bad taste It's as I suspected, a lot

Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-21 Thread Masatran, R. Deepak
* Bharathi Subramanian <[EMAIL PROTECTED]> 2008-06-20 > $ rm f? -- Remove all files, whose name start with f and >followed by single char. > > $ rm f* -- Remove all files, whose name starting with f. It would be better if you indicated that wildcard expansion is done by the shell, an

Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-21 Thread Masatran, R. Deepak
* Bharathi Subramanian <[EMAIL PROTECTED]> 2008-06-20 > One Day One GNU/Linux Command > = > > rm -- ReMove files or directories. Safety precautions: Do not modify the behavior of "rm" with the same name. Use a different name instead. If one gets used to a safe "rm", o

Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-20 Thread Ashok Gautham J.
I have an alias in my .bashrc ... alias rm = "mv -t ~/.Trash/" Of Course, you have to remember a different set of options.. eg. -rf wont work... It moves directories implicitly.. And yeah.. When you feel the size has exceeded a certain limit, you can delete it with /usr/bin/rm -r ~/.Trash/* ___

Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-20 Thread Kapil Hari Paranjape
On Friday 20 Jun 2008, Sudharshan S wrote: > You forgot this, > >rm -rf / -- Shortcut to get yourselves fired for the rest of your > life > > DISCLAIMER: Am not responsible for lost jobs now. Actually, if you install "safe-rm" then you may be safe! This package just recently entered Debian un

Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-20 Thread Arun Khan
On Friday 20 Jun 2008, Balu manyam wrote: > yeah - i recall of an incident where a DBA tried rm -rf > /$ORACLE_HOME and the variable was not set :) - the rest is history > :) ouch! Isn't $ORACLE_HOME a full path name akin to $HOME? -- Arun Khan __

Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-20 Thread Arun Velusamy
>see here a nice video what "sudo rm -rf /' does. >http://www.youtube.com/watch?v=wWOjmvWPRvQ Interesting one... -Arun Velusamy. ___ To unsubscribe, email [EMAIL PROTECTED] with "unsubscribe " in the subject or body of the message. http:/

Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-20 Thread Arun Velusamy
Seriously, has anyone tried it? I suspect after enough damage like removal of shared libraries rm might start complaining about not finding "stuff" it needs to do it's job. I did it once (as a root, on /) on my redhat machine, when i was a trainee. After 10-15 sec i realized what i did and

Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-20 Thread Shrinivasan T
> > rm -rf / -- Shortcut to get yourselves fired for the rest of your life > > DISCLAIMER: Am not responsible for lost jobs now. > see here a nice video what "sudo rm -rf /' does. http://www.youtube.com/watch?v=wWOjmvWPRvQ -- dear, T.Shrinivasan My experiences with Linux are here http://g

Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-20 Thread Balu manyam
On Fri, Jun 20, 2008 at 9:06 PM, Arun Khan <[EMAIL PROTECTED]> wrote: > On Friday 20 Jun 2008, Sudharshan S wrote: > > > You forgot this, > > > >rm -rf / -- Shortcut to get yourselves fired for the rest of your > > life > > > > DISCLAIMER: Am not responsible for lost jobs now. > > Darn! you be

Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-20 Thread Kapil Hari Paranjape
Hello, Apropos "rm -rf /". On Fri, 20 Jun 2008, Arun Khan wrote: > Seriously, has anyone tried it? I recall doing this once with user-mode-linux but didn't record the session. You may want to try it with u-m-l or with qemu. It hurts less when you play in the sand. :-) It should manage to "go th

Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-20 Thread Arun Khan
On Friday 20 Jun 2008, Sudharshan S wrote: > You forgot this, > >rm -rf / -- Shortcut to get yourselves fired for the rest of your > life > > DISCLAIMER: Am not responsible for lost jobs now. Darn! you beat me to it :) Seriously, has anyone tried it? I suspect after enough damage like remo

Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-19 Thread Raja Subramanian
On Fri, Jun 20, 2008 at 12:01 PM, Sudharshan S <[EMAIL PROTECTED]> wrote: > rm -rf / -- Shortcut to get yourselves fired for the rest of your life > > DISCLAIMER: Am not responsible for lost jobs now. One of the system admins in my earlier jobs instead of running # rm -rf basedir/subdir execu

Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-19 Thread Sudharshan S
On Fri, Jun 20, 2008 at 11:46 AM, Bharathi Subramanian < [EMAIL PROTECTED]> wrote: > One Day One GNU/Linux Command > = > > rm -- ReMove files or directories. > > Summary : > > rm removes each specified file. By default, it does not remove directories. > > You forgot thi

Re: [Ilugc] One Day One GNU/Linux Command (RM)

2008-06-19 Thread Sudharshan S
On Fri, Jun 20, 2008 at 11:46 AM, Bharathi Subramanian < [EMAIL PROTECTED]> wrote: > One Day One GNU/Linux Command > = > > rm -- ReMove files or directories. > > Summary : > > rm removes each specified file. By default, it does not remove > directories. > > You forgot t

[Ilugc] One Day One GNU/Linux Command (RM)

2008-06-19 Thread Bharathi Subramanian
One Day One GNU/Linux Command = rm -- ReMove files or directories. Summary : rm removes each specified file. By default, it does not remove directories. Examples : $ rm myfile -- Remove the myfile from current dir. $ rm f1 f2 f3 -- Remove f1,f2 and f3. $ rm f? --