Wednesday, July 30, 2008

What does the unix command "rm -rf *" under / do??

I'm not much of a Unix freak! As a matter of fact, even today I get scared when I have to set "java path" in unix. I just don't understand why the hell I should do that. Why can't it be done with a click of a button?

Anyway, one of the downsides of having like 200 machines at your disposal with "root" access is the "rm" command!! What really happens if you do this in an un-intended location?? (Especially / )

The first thought that goes through your mind is; what the hell just happened? What happened to all the folders! The damn "ls" command through the telnet session just doesn't work. Why? You just don't see any folders!! Then you realize you are "F#@^%"!! All the hardwork that went in, the hours all go for a waste!! So you either reinstall the OS or request the IS team to do it for you. And then you pretty much start from scratch!

And ofcourse, it helps to laugh at yourself when you are in such a situation

No comments: