News for hackers. Stuff that matters.
Re:My 10 UNIX Command Line Mistakes by yesbabyyes on Sunday February 27, 2011 @04:23PM (#2269016)
On Linux killall command kill processes by name (killall httpd). On Solaris it kill all active processes.

As a young programmer on my first real programming job, an online stock broker in 1999, I did this. I had been running Linux since -95 and was familiar with Solaris from college. I had no idea about this though. I was so ashamed, but I didn't face any dire consequences.

I will never forget my lesson (then again, I will probably not be managing Solaris anymore).

I have also done variations on "ifconfig eth1 down" (or messing around with iptables) on a remote computer.

Re:My 10 UNIX Command Line Mistakes by dedward on Sunday February 27, 2011 @08:47PM (#2269681)
I'll cop to the same - though thankfully it was my workstation and not a production server (and more than a decade ago).

I would imagine just about everyone from the same era who was newly exposed to administering both sunos/solaris and linux probably did the same thing. (the longbeards who already new Sunos/solaris would already know better)

But seriously.. what a stupid command. What was the practical value of "killall" on solaris? seriously?

Re:My 10 UNIX Command Line Mistakes by duskwuff on Monday February 28, 2011 @01:50AM (#2270387)
From what I understand, Solaris killall is used in the final stages of system shutdown. Why it has to be on the default $PATH I'll never understand.