My terrible UNIX, or really SunOS/Solaris moments have been: o typing 'halt' into the wrong xterm, shutting down well planners o and likely on the same network, jacking up the NIS+ on Solaris It's been a constant itch that I never did manage to understand what I was doing wrong, such that NIS+ wouldn't restart correctly.
My marquee move is to shut down the ethernet interface of a box I'm SSHed into.
The classic Unix horror story
21–30 of 54 posts
Re: The classic Unix horror story
#22I've never actually been bitten by rm (or done anything remotely this badass) but in college I did have a bad Unix moment: Late at night, I was tarring up a finished project right before emailing it to my professor. I ran: tar -cvf *.cpp *.h something.tar instead of: tar -cvf something.tar *.cpp *.h It happily wrote most of my project into a tar file on top of the first source file, then complained that something.tar…
Writing this comment, I had to look up the order of the parameters to tar; I still can't remember. Stupid tar. The -f (--file) flag takes an argument. So you could do: tar -cf *.cpp -f something.tar It is easier to remember order if you know what the flags mean.
Re: The classic Unix horror story
#23Re: The classic Unix horror story
#24Man, how many times is this story going to be submitted?
As often as it's still badass.
You'll know that "head-in-hands" feeling if you've done it before, and it is quite the experience.
That's why this story will draw you back every time.
Re: The classic Unix horror story
#25Earlier quoted context omitted.
Yes, but too bad that frequent offsite automated backups were still at least a decade off in 1986. At the very least, the network bandwidth just simply wasn't there. Heck, at this stage of the game, 1Mbps was considered to be blazing fast on a LAN. Even Internet backbones were 56k.
i know for a fact that backups were possible in 86 and that's all that would be needed to turn an accidental deletion into a non-disaster but you're right, networking speed/bandwidth has gotten better since then, but that's irrelevant and I never claimed it hadn't. my point was that there is a simple, well-known solution/palliative for this, so no need for this kind of drama going forward.
Re: The classic Unix horror story
#26Is there a "social news sites classics" directory yet? I would love to see reposts of oldies no longer justified due to a good directory of these things, prominently linked. Pretty please do not create such a directory in this comments thread.
http://catb.org/~esr/jargon/html/ The Hacker Jargon page would probably be the best index of the so called "classics", although it hasn't been updated in years.
Re: The classic Unix horror story
#27Earlier quoted context omitted.
i know for a fact that backups were possible in 86 and that's all that would be needed to turn an accidental deletion into a non-disaster but you're right, networking speed/bandwidth has gotten better since then, but that's irrelevant and I never claimed it hadn't. my point was that there is a simple, well-known solution/palliative for this, so no need for this kind of drama going forward.
the article clearly describes how they used backups to turn an accidental deletion into a non-disaster, in 1986.
Re: The classic Unix horror story
#28Earlier quoted context omitted.
My marquee move is to shut down the ethernet interface of a box I'm SSHed into.
I used iptables to block all incoming traffic. While SSHed into the server. Thankfully, Linode's out of band console works (slow and painful, but it worked).
Re: The classic Unix horror story
#29Re: The classic Unix horror story
#30Earlier quoted context omitted.
My marquee move is to shut down the ethernet interface of a box I'm SSHed into.
I used iptables to block all incoming traffic. While SSHed into the server. Thankfully, Linode's out of band console works (slow and painful, but it worked).