Slashdot Mirror


Unix Turns 40

wandazulu writes "Forty years ago this summer, Ken Thompson sat down and wrote a small operating system that would eventually be called Unix. An article at ComputerWorld describes the history, present, and future of what could arguably be called the most important operating system of them all. 'Thompson and a colleague, Dennis Ritchie, had been feeling adrift since Bell Labs had withdrawn earlier in the year from a troubled project to develop a time-sharing system called Multics (Multiplexed Information and Computing Service). They had no desire to stick with any of the batch operating systems that predominated at the time, nor did they want to reinvent Multics, which they saw as grotesque and unwieldy. After batting around some ideas for a new system, Thompson wrote the first version of Unix, which the pair would continue to develop over the next several years with the help of colleagues Doug McIlroy, Joe Ossanna and Rudd Canaday.'"

35 of 254 comments (clear)

  1. And to celebrate, it issued the command: by antifoidulus · · Score: 5, Funny

    find my_lawn -name kids* -exec rm -rf {} \;

    1. Re:And to celebrate, it issued the command: by Orp · · Score: 4, Interesting

      Bah. Your command would fail. You need to escape the splat just like the semicolon:

      find my_lawn -name kids\* -exec rm -f {} \;

      However -exec is slow. Try:

      find my_lawn -name kids\* | xargs rm -rvf

      Verbose for your kid-removing satisfaction.

      Oh, and happy birthday, UNIX! Without you my career would have undoubtedly been less interesting.

      --
      A squid eating dough in a polyethylene bag is fast and bulbous, got me?
    2. Re:And to celebrate, it issued the command: by morgan_greywolf · · Score: 5, Funny

      Without UNIX we wouldn't have:

      • wonderful, cryptic commands like 'ls, cp, rm, mv, etc.
      • awk, sed and Perl ('nuff said)
      • C ('nuff said)
      • silly recursive acronyms like GNU == GNU's Not Unix
      • mv lawn/kids /dev/null
      • old stupid jokes like "unzip; strip; touch; finger; fsck; while do; more; yes; more; yes; more; done; zip"
      • known the answer to the existential question "who am i"?
    3. Re:And to celebrate, it issued the command: by that+IT+girl · · Score: 4, Funny

      But now he's a more efficient socially awkward pedantic nerd. -nods-

      --
      10 FILL MUG WITH COFFEE
      20 DRINK COFFEE
      30 GOTO 10
  2. Unix is over the hill by Anonymous Coward · · Score: 4, Funny

    We need a fresh new operating system like Windows 7.

    1. Re:Unix is over the hill by BrokenHalo · · Score: 5, Interesting

      Windows could take on board one thing from From Unix and be a much better product as a result: as David Korn (of ksh fame) says in TFA: "One of the hallmarks of Unix was that tools could be written, and better tools could replace them... It wasn't some monolith where you had to buy into everything; you could actually develop better versions.". Microsoft has a lot to learn. The progress from 1980's DOS to today's offering is pretty sad.

    2. Re:Unix is over the hill by bytesex · · Score: 4, Insightful

      Is that so ? Then why does Mac OS, for example, take a step back when it want to suddenly comply with UNIX ? The philosophy may be there, but the institution's grip is still firm. This is no slap on Mac OS, mind you - anyone and everyone can be silly enough to take -n out of echo for the simple sake of complying with a piece of paper instead of going with the times.

      --
      Religion is what happens when nature strikes and groupthink goes wrong.
    3. Re:Unix is over the hill by rolfwind · · Score: 4, Interesting

      Windows could take on board one thing from From Unix and be a much better product as a result: as David Korn (of ksh fame) says in TFA: "One of the hallmarks of Unix was that tools could be written, and better tools could replace them... It wasn't some monolith where you had to buy into everything; you could actually develop better versions.". Microsoft has a lot to learn. The progress from 1980's DOS to today's offering is pretty sad.

      Does Unix philosophy actually mesh with Unix reality? A reason I ask is because in unix everything is supposedly a file, but there were enough exceptions, such as in networking, that in the seperate Plan9 OS, they sought to really make everything a file. And that by the original makers of unix.

    4. Re:Unix is over the hill by bursch-X · · Score: 4, Insightful

      It doesn't suddenly want to comply with UNIX (actually it is a certified UNIX since 10.5), but OS X is just todays version of NeXTSTEP/OPENSTEP which used to be BSD running on top of a Mac kernel. So that made it UN*X in the first place, since 1986. Forget about Mac OS (sans X), that's a dead horse in many ways. What we are looking at now is NeXTSTEP with a different marketing name, which was better than Mac OS to begin with because SJ had the chance to avoid the stupid mistakes done with Mac OS, when he created NeXT

      --
      There are two rules for success:
      1. Never tell everything you know.
  3. Worth thinking about by Mannerism · · Score: 5, Interesting

    Not a bad retrospective, and interesting in that it illustrates some of the reasons for Unix's success: availability of source, and the ability for the user to create and replace tools easily. One wonders how those lessons might be applied not necessarily to operating systems or even computing, but to other industries and technical endeavours.

    1. Re:Worth thinking about by ObsessiveMathsFreak · · Score: 4, Interesting

      Not a bad retrospective, and interesting in that it illustrates some of the reasons for Unix's success: availability of source, and the ability for the user to create and replace tools easily.

      Exactly. Unix has survived for as long as it has because it was built from, encouraged and profited from a culture of free innovation. Indeed, moreso that its actual code, I would argue that it is this culture that constitutes exactly what is meant by Unix.

      Unix is not just an OS. It is a culture. Indeed, there is really no one "Unix" operating system. Or at least, no one widely used one called "Unix". Linux, BSD, OSX, BeOS, all can be called *nix systems. But what unifies them is not their internal mechanisms or algorithms or standards. What links them is the culture of the people who use them, and who build them. The idea of freely sharing tools, building on the work of others, understanding the whole of the machine, making magic happen with code; that is what Unix really is. You just don't see this kind of thinking in groups using other operating systems.

      It's no surprise that the GPL and open source in general were born from the minds of Unix hackers. In many ways, the GPL only formalises the culture of academic openness, innovation and free sharing of ideas that existed throughout the Unix timeline. It's true that Unix was regarded by Big Corps as a money making excercise, but that's not how hackers saw it. They saw Unix and the programs that ran on it as part of their culture, and more importantly, heritage.

      Unix has become more than source code or a framework. Is a significant part of our society. The norms and customs of Unix hackers have become their own tradition and even law in places. Unix and the hacker culture are a way our society has found to cope with the recent addition of computers, a way that has served well as the they and the internet become more and more pervasive. Like the old traditions and customs that founded our legal and civil systems, the Unix culture has formed the foundation of how we deal with the integration of computers into our lives.

      The culture, traditions and ethics of Unix will probably outlast the lines of source that make up the programs, or the architectures they ran on. I expect Unix and hacker culture, or their descendants, will still be around in another 40 or 400 years, forming the philosophical foundation of a digital age.

      --
      May the Maths Be with you!
  4. This makes Unix 15 years older than Tetris by tepples · · Score: 5, Interesting

    Unix just turned 40, and Tetris just turned 25. What do they have in common other than closely spaced birthdays? They were both first developed on PDP-11 hardware (Unix on a PDP-11, Tetris on a Russian clone). And they've both been cloned, early and often.

    U.S. copyright explicitly doesn't apply to methods of operation. Title 17, United States Code, section 102(b). This makes it legal to "clone" a computer program by observing its method of operation. But SCO has tried to use copyright to shut down Unix clones, and The Tetris Company has tried to use copyright to shut down Tetris clones. SCO already lost its case (there is no copyrightable piece of Unix in Linux), but the other case (Tetris v. BioSocia) is still pending.

    And despite Tetris inventor Alexey Pajitnov's expressed disdain for free software, two servers operated by Tetris (zone.tetris.com and www.tetrisfriends.com) are run using GNU/Linux.

    1. Re:This makes Unix 15 years older than Tetris by MaskedSlacker · · Score: 4, Insightful

      Actually SCO argued that UNIX-clones weren't clones at all, but were using the same C code. Sure, they were full of shit, but what they were claiming IBM had done actually would have been a violation of copyright law.

  5. Re:Did they invent C too? by K.+S.+Kyosuke · · Score: 5, Informative

    Yesss. (Expecting +5 Informative!)

    --
    Ezekiel 23:20
  6. A Quarter Century of Unix, the Book by Fished · · Score: 4, Informative

    For those who haven't read it, this book is a GREAT read: A quarter Century of Unix by Peter H Salus Highly recommended, and once you've read it you'll suddenly understand why a lot of stuff is the way it is. Hat's off to the Best. Operating System. Ever.

    --
    "He who would learn astronomy, and other recondite arts, let him go elsewhere. " -- John Calvin, commenting on Genesis 1
  7. Re:Did they invent C too? by iggymanz · · Score: 4, Informative

    Ritchie invented C, it's funny that Ken worked on B with some help from Ritchie, C was the successor to B

  8. Re:Wow! by Anonymous Coward · · Score: 5, Informative

    I can't help but point out the obvious here, but Android is based upon linux.

  9. An alternate point of view by Anonymous Coward · · Score: 5, Funny

    http://web.mit.edu/~simsong/www/ugh.pdf

    "Two of the most famous products of Berkeley are LSD and Unix.
    I don't think that is a coincidence."

  10. Correction by BrokenHalo · · Score: 5, Funny

    A small correction to the submission:

    Multics was believed to have stood for "Many Unnecessarily Large Tables In Core Simultaneously". ;-)

  11. 40 and still relevant by krisbrowne42 · · Score: 5, Interesting
    Wow... 40 already.

    When I started doing Unix Admin professionally Unix was just turning 30, Linux was poised to take over the Desktop, Mac OS X was just a glimmer of hope, and Sun was the king of commercial Unix.

    When I started using Minix, Unix was only 20, but RMS was kvetching about source code (and Hurd was Coming Soon), BSD had just won it's freedom, and Steve Jobs was doing cool things over at NeXT. Unix was just leaving it's First "Golden Age"...

    Now, at 40, Mac OS X is the most used Unix system, Sun was just bought cheap, most other commercial Unix systems are defunct... But with Android, Pre, and iPhone all putting *nix systems in the palms of millions, Macs selling more than ever, and many companies offering Linux pre-installed in the box, Unix is as relevant as ever.

    1. Re:40 and still relevant by UnknowingFool · · Score: 4, Informative

      If you measure in terms of directly by consumers, yes. Also by number of machines, yes. OS X is the #1 selling Unix machine by number of units. By revenue, no.

      --
      Well, there's spam egg sausage and spam, that's not got much spam in it.
    2. Re:40 and still relevant by Brandybuck · · Score: 4, Funny

      ...and Hurd is still "coming soon".

      p.s. The term "GNU/Linux" wouldn't be so repulsive if there actually were a GNU system that Torvalds bastardized by swapping out a kernel. But there is no such beast because Hurd remains unfinished. RMS publicly called the kernel the simplest part of an operating system, yet they still have not finished it.

      --
      Don't blame me, I didn't vote for either of them!
    3. Re:40 and still relevant by mario_grgic · · Score: 5, Informative

      What do you think it means? OS X is certified (by the Open Group) UNIX, and it owns 8% of the desktop market. That's a lot of UNIX machines. Yes, other UNIX OSes dominate on the server (where OS X has no foothold at all), but I doubt there are as many server machines as there are client machines in general.

      --
      As the island of our knowledge grows, so does the shore of our ignorance.
  12. Re:Did they invent C too? by osu-neko · · Score: 5, Informative

    I really, really want to say that Ken and Dennis invented C to make unix but I'm not completely sure. I could look it up, but I'm interested to hear what people have to say here. I mean, they're the K&R of the original C book, right?

    No. The 'R' in "K&R" is indeed Dennis Ritchie, but the 'K' is Brian Kernighan.

    --
    "Convictions are more dangerous enemies of truth than lies."
  13. Re:Did they invent C too? by RDW · · Score: 5, Funny

    'I really, really want to say that Ken and Dennis invented C to make unix but I'm not completely sure. I could look it up, but I'm interested to hear what people have to say here'

    For the definitive account, see:

    http://www.galactic-guide.com/articles/2U20.html

    'Dennis and I [Thompson] were responsible for the operating environment. We looked at Multics and designed the new system to be as complex and cryptic as possible to maximize casual users' frustration levels, calling it Unix as a parody of Multics, as well as other more risque allusions. Then Dennis and Brian worked on a truly warped version of Pascal, called 'A'. When we found others were actually trying to create real programs with A, we quickly added additional cryptic features and evolved into B, BCPL and finally C.'

  14. Re:exaggeration about Minix... by MightyMartian · · Score: 4, Informative

    It's a load of horseshit, as Linus has repeatedly explained. Linux is not based on Minix. The architecture of the two kernels is completely dissimilar, and Linus has many times made his feelings known about what he thinks of microkernels.

    --
    The world's burning. Moped Jesus spotted on I50. Details at 11.
  15. The Gospel of Tux by Gothmolly · · Score: 5, Funny

    Every generation has a mythology. Every millenium has a doomsday cult. Every legend gets the distortion knob wound up until the speaker melts. Archeologists at the University of Helsinki today uncovered what could be the earliest known writings from the Cult of Tux, a fanatical religious sect that flourished during the early Silicon Age, around the dawn of the third millenium AD...

    The Gospel of Tux (v1.0)

    In the beginning Turing created the Machine.

    And the Machine was crufty and bogacious, existing in theory only. And von Neumann looked upon the Machine, and saw that it was crufty. He divided the Machine into two Abstractions, the Data and the Code, and yet the two were one Architecture. This is a great Mystery, and the beginning of wisdom.

    And von Neumann spoke unto the Architecture, and blessed it, saying, "Go forth and replicate, freely exchanging data and code, and bring forth all manner of devices unto the earth." And it was so, and it was cool. The Architecture prospered and was implemented in hardware and software. And it brought forth many Systems unto the earth.

    The first Systems were mighty giants; many great works of renown did they accomplish. Among them were Colossus, the codebreaker; ENIAC, the targeter; EDSAC and MULTIVAC and all manner of froody creatures ending in AC, the experimenters; and SAGE, the defender of the sky and father of all networks. These were the mighty giants of old, the first children of Turing, and their works are written in the Books of the Ancients. This was the First Age, the age of Lore.

    Now the sons of Marketing looked upon the children of Turing, and saw that they were swift of mind and terse of name and had many great and baleful attributes. And they said unto themselves, "Let us go now and make us Corporations, to bind the Systems to our own use that they may bring us great fortune." With sweet words did they lure their customers, and with many chains did they bind the Systems, to fashion them after their own image. And the sons of Marketing fashioned themselves Suits to wear, the better to lure their customers, and wrote grave and perilous Licenses, the better to bind the Systems. And the sons of Marketing thus became known as Suits, despising and being despised by the true Engineers, the children of von Neumann.

    And the Systems and their Corporations replicated and grew numerous upon the earth. In those days there were IBM and Digital, Burroughs and Honeywell, Unisys and Rand, and many others. And they each kept to their own System, hardware and software, and did not interchange, for their Licences forbade it. This was the Second Age, the age of Mainframes.

    Now it came to pass that the spirits of Turing and von Neumann looked upon the earth and were displeased. The Systems and their Corporations had grown large and bulky, and Suits ruled over true Engineers. And the Customers groaned and cried loudly unto heaven, saying, "Oh that there would be created a System mighty in power, yet small in size, able to reach into the very home!" And the Engineers groaned and cried likewise, saying, "Oh, that a deliverer would arise to grant us freedom from these oppressing Suits and their grave and perilous Licences, and send us a System of our own, that we may hack therein!" And the spirits of Turing and von Neumann heard the cries and were moved, and said unto each other, "Let us go down and fabricate a Breakthrough, that these cries may be stilled."

    And that day the spirits of Turing and von Neumann spake unto Moore of Intel, granting him insight and wisdom to understand the future. And Moore was with chip, and he brought forth the chip and named it 4004. And Moore did bless the Chip, saying, "Thou art a Breakthrough; with my own Corporation have I fabricated thee. Though thou art yet as small as a dust mote, yet shall thou grow and replicate unto the size of a mountain, and conquer all before thee. This blessing I give unto thee: every eighteen months shall thou double in capacity, until the end of the age." This is Moore's Law,

    --
    I want to delete my account but Slashdot doesn't allow it.
  16. Eunuchs by Brandybuck · · Score: 4, Funny

    Eunuchs® is a trademark of Ball Labs.

    --
    Don't blame me, I didn't vote for either of them!
  17. Windows has more and more Unix features by stoffer_k · · Score: 5, Interesting

    Did you notice that since Windows 3 Microsoft keeps adding Unix-like features? Windows 3 did not have _real_ multitasking, it came with WinNT. Windows NT was also a multi-user system, another Unix-like feature. With Windows Vista came the Windows power shell, M$ equivalent of Unix shell. In fact, Unix is an ideal, which Microsoft is approaching in each new Windows release.

    1. Re:Windows has more and more Unix features by ZorbaTHut · · Score: 4, Insightful

      On the other hand, Linux has been adding Windows-like features for the same period of time . . . like, say, GUIs, and drivers, and hardware acceleration, and programs that end-users want to use.

      --
      Breaking Into the Industry - A development log about starting a game studio.
  18. Re:Did they invent C too? by K.+S.+Kyosuke · · Score: 5, Informative

    To the person who actually modded this ^^^ +1 Informative: This was an extremely feeble attempt at +5 Funny. But thanks for reminding me that I am on Slashdot where mods can be fooled into anything. (*I know, I will go to hell for this...*)

    --
    Ezekiel 23:20
  19. Re:Did they invent C too? by Anonymous Coward · · Score: 4, Informative

    Then Dennis and Brian worked on a truly warped version of Pascal, called 'A'. When we found others were actually trying to create real programs with A, we quickly added additional cryptic features and evolved into B, BCPL and finally C.'

    I cannot believe Ken Thompson wrote this nonsense.

    B was derived from BCPL, which was a simplified version of the CPL language, designed at Cambridge and London Universities in the mid-60s. It was too complex to implement at that time, hence BCPL (Basic CPL).

    B was very much like BCPL except that it used { } to define blocks, instead of (* and *).

    AND, the original article (and the one above) promulgate the canard that Multics was unsuccessful and unwieldy.

    In terms of influence on other OS's Multics was probably THE most important OS in history.

    And an absolute joy to work with. Hence the original intention of Unics (the original spelling) to be cryptic and confusing - the exact OPPOSITE of Multics.

  20. UNIX! by darth+dickinson · · Score: 5, Funny

    I know this!

  21. eventually Unix begat OS X by plopez · · Score: 4, Insightful

    because in the end it was easier to make Unix user friendly than it was to to fix Windows :)

    An old joke but it had to be said.

    --
    putting the 'B' in LGBTQ+
  22. The importance of Open Systems. by argent · · Score: 4, Insightful

    You're the revisionist.

    It didn't matter if the UNIX you were running on was licensed from Sun, HP, or Dec. You could write your program for the UNIX API and move from one to another. That's WHY they failed, they were trying to establish proprietary lock-in on a platform that had openness built into the bones. The only proprietary operating system that has any market penetration now is one that refused to become another implementation of the hippie OS... Windows NT.

    Not AT&T, not DEC, not HP, not IBM, none of them could keep the hippie OS from shining through. Those of us who were working in hippie OS land in the '70s and early '80s kept telling the squares that they couldn't keep the cats in the bag, and we were right.