This is the twin to this question.
Most obscure/upvoted answer will get the answer vote!
Most Unix and Unix-like systems have a "traditional history" that is passed down with each generation, so that newcomers can see and understand some of the more esoteric portions of the system. What long-time *nix admins out there contribute as to the "Legendry" of "UNIX", as far as esoteric knowledge that new admins should be exposed to?
A personal favourite has always been "The Case of the 500-Mile Email"
http://www.ibiblio.org/harris/500milemail.html
Spoiler
For me the most amazing thing about the UNIX tradition is that UNIX was basically written by one guy - Ken Thompson while at Bell Labs. There is a fascinating account of this that can be found here: http://www.bell-labs.com/history/unix/
Some of the quotes are just priceless:
"I allocated a week each to the operating system, the shell, the editor, and the assembler to reproduce itself...", Thompson explained.
Pipes:
Another innovation of UNIX was the development of pipes, which gave programmers the ability to string together a number of processes for a specific output.
It wasn't easy. "It's very easy to say 'cat into grep into...,' or 'who into cat into grep,'" McIlroy explained. "But there are all these side parameters that these commands have; they just don't have input and output arguments, but they have all these options."
Although stymied, McIlroy didn't drop the idea. "And over a period from 1970 to 1972, I'd from time to time say, 'How about making something like this?', and I'd put up another proposal, another proposal, another proposal. And one day I came up with a syntax for the shell that went along with the piping, and Ken said, 'I'm going to do it!'"
"He was tired of hearing this stuff," McIlroy explained. "He didn't do exactly what I had proposed for the pipe system call. He invented a slightly better one that finally got changed once more to what we have today. He did use my clumsy syntax."
"Thompson saw that file arguments weren't going to fit with this scheme of things and he went in and changed all those programs in the same night. I don't know how...and the next morning we had this orgy of one-liners."
"He put pipes into UNIX, he put this notation into shell, all in one night," McElroy said in wonder.
As technically neat as the accomplishment was, when Thompson created pipes, he also put something else into UNIX -- a philosophy.
As McIlroy described it, "the philosophy that everyone started to put forth was 'Write programs that do one thing and do it well. Write programs to work together. Write programs that handle text streams, because that is a universal interface.'"
tar never exits with an error. NEVER. Beware.
Source: The UNIX-HATERS Handbook, page 31 (http://simson.net/ref/ugh.pdf) Sorry, no HTML version.
This book happens to be chock-full of other legendry, and it's mostly still applicable. In my years of using Linux, I've run across many of these gotchas... just not any of the ones involving rm-ing my entire drive, thank goodness. It's stunning to me that so much of this book is still accurate, even though it was written over 15 years ago.
And now my own tar horror story, nearly an exact replica of the UNIX-HATERS one. Same bug, 14 years later!
I want my wireless working on my eeepc, for which I must download a driver, compile it, and install it. I download everything I need, and set off to the library to work. Halfway through, I realize that yes, I DO need the internet for something, so I go to install.
Oh, crap. Did I just type -cvf instead of -xvf?
Yup.
Did tar just silently create a tar file of random garbage, overwriting my usable file?
Yup. Great. I guess I'll just do without internet access. Good thing it wasn't a multi-gigabyte file... Oh wait, that happened a week before.
Honestly, what the heck is up with cryptic command-line arguments and linux programs? Can't they just automatically do the basic operation when invoked on a file with the appropriate extension. Why in the blazes do I need to tell tar what to do with an ARCHIVE? Does it think that I might want to archive it AGAIN?
I think I finally understand what a 'tar pit' is, now. IT'S A PLACE THAT FILES GO TO DIE.
Logging in with all caps
http://utcc.utoronto.ca/~cks/space/blog/unix/UnixFossilizationExample
hrm. I fear I may have misunderstood the question :-)
But I'm leaving the link, because I find it interesting!
The original pipe symbol was ^
The original delete key was #
The original "kill" key (erase everything on the line) was @
If you ever log onto an older system and can't seem to type a comment or an email address, stty becomes your friend.
This is an example 7th ed login session where the person making the log was gracious enough to run stty.. Also, as mentioned here it says "How to identify a traditional Bourne shell? 1 A simple check for an often undocumented but characteristic feature: You can use the circumflex ^ (caret) as replacement for | (pipe)."
A famous Turing-award lecture of Ken Thompson:
http://www.ece.cmu.edu/~ganger/712.fall02/papers/p761-thompson.pdf [PDF]
When you put a backdoor for
login
in your C compiler, nasty things might happen...NetBSD can run on just about anything. There are 57 (57!) supported ports:
http://www.netbsd.org/ports/#in-tree-ports
Cheers
Everything is a file, or can be treated as such... except the darn user.
Bus error means you are trying to execute data, which was stored on the data side of the PDP/11's split data/program bus.
Unix is the only O/S that got calenders and clocks right from the beginning, only because an astronomer was one of the creators. (Extra comment-credit: name that writer. Extra-extra credit: name the Olympic medal winner on the UNIX team.)
The GCOS field in /etc/passwd was named after the GECOS operating system, and placed there only because they were using a GECOS mainframe as a print server to the original Unix mini, and it needed the data to accept a print job.
One that probably a lot of newcomers to Linux don't know is that the creator of Linux (Linus Torvalds) borrowed heavily from the MINIX Operating System (an educational tool) created by Professor Andrew Tanenbaum: http://en.wikipedia.org/wiki/Andrew_S._Tanenbaum#MINIX .
Linus and Prof. Tanenbaum also debated at length the merits/pragmatism of a monolithic kernel (Linux) versus a microkernel (MINIX, Solaris). The debate was public and can be found here: http://oreilly.com/catalog/opensources/book/appa.html
Cheers
The Art of Unix Programming is a good read for anyone interested in computing, not just those interested in Unix. Yes some of it is dated, but it is still an essential read.