Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Operating Systems GUI Software Programming IT Technology

In The Beginning Was The Command Line, Updated 416

Unqualified code-monkey Garote submits his annotated version of Neal Stephenson's In The Beginning Was The Command Line, updated to discuss UI design theory and fill in some of the gaps from the last five years. (And yes, he has been granted permission from Neal to do this.) There's plenty more to cover of course: Will the command-line last only as long as the keyboard? How will desktop search technology change our workflow? What about the 3D interface? Scroll to any random paragraph in the essay and you'll find something worth expounding on. What's ahead for the next five years?
This discussion has been archived. No new comments can be posted.

In The Beginning Was The Command Line, Updated

Comments Filter:
  • by checkitout ( 546879 ) on Wednesday January 05, 2005 @09:30AM (#11262757)
    Keyboard ain't going anywhere. Expect it to exist for as long as there are words to type.
  • by Anonymous Coward on Wednesday January 05, 2005 @09:30AM (#11262758)
    "Evolution optimized homo sapiens for wandering the savannah - moving around a plane - and not swinging through the trees. Today this evolutionary bias shows in comparing the number of people who drive a car versus the number of helicopter pilots: 2D navigation (on the ground) vs. 3D navigation (in the air)."

    What absolute, total, bollocks. Cost of helicopters vs cost of cars has not figured into this tit's thoughts, then?
  • by MadMorf ( 118601 ) on Wednesday January 05, 2005 @09:31AM (#11262765) Homepage Journal
    I read this book when it first came out and I have to say that I was quite disappointed.

    His insistance that Windows doesn't have a command line shows a deliberate distortion of the truth to try to make his point.

    Any REAL Windows Admin knows this is false and it's a prime way to identify an Anti-MS zealot.

    Anyway, it hasn't stopped me being a fan of NS, but it did disappoint me in a big way.

  • by mrjb ( 547783 ) on Wednesday January 05, 2005 @09:32AM (#11262766)
    People use the command line nowadays to control servers by SMS. Spoken commands, as well, are likely to follow a command-line type interface. Just uttering "Tea, earl grey, hot" in expert-mode is a lot less infuriating then "press 1 for tea, press 2 for coffee, press 4 for chocolate milk, press 5 for cola, press 6 for beer" -- (6) "Press 1 for lager press 2 for stout press 3 for ale" (1) "press 1 for hot press 2 for cold" (2) "Press 1 for alcohol free press 2 for alcohol-rich" (2) "Press 1 for carbonated 2 for cat-pee" (and so on)
  • by Anonymous Coward on Wednesday January 05, 2005 @09:32AM (#11262768)
    The current state of the human interface to computers works well because there is an extremely limited number of commands a computer (or computer program) understands. As computer sophistication improves and functions increase in complexity, the "point and click" interface will become too cumbersome. It is inevitable that the typical user interface will evolve toward the same one used between humans for everyday interaction, e.g. the spoken word.

    IMHO
  • Re:Hopeful (Score:3, Insightful)

    by koreaman ( 835838 ) <uman@umanwizard.com> on Wednesday January 05, 2005 @09:33AM (#11262784)
    For newbs like yourself (I'm not saying this in an offensive way) I would recommend KDE.

    Or try Fluxbox if you have an older comp, but it's not very similar to Windows.
  • by RenatoRam ( 446720 ) on Wednesday January 05, 2005 @09:38AM (#11262813)
    Anybody who has used the unix comandline for REAL knows why even experienced admins think that windows lacks a commandline.

    No completion, no reverse-search in history, no pipe filters (and no, pipe more does not count), and so on...

    Sure, if you install cygwin you get a lot of the stuff you have on *nix, but this simply proves the point: to have decent commandline tools you have to install a POSIX emulation layer.
  • by lwriemen ( 763666 ) on Wednesday January 05, 2005 @09:53AM (#11262905)
    Let's face it, without OS/2 there never would have been a Windows 95. Rising competition from OS/2 caused Microsoft to release a very cut down version of Cairo, and step up it's anti-competitive strong arming of IHVs and ISVs. Competition from Linux is the only reason stability has increased in Windows, and is driving MS to address security issues. Apple still has very little competitive influence, since it doesn't look to expand much outside of it's niche market. OS X was surgery to stop the bleeding, not a grab at extra marketshare.
  • Desktop Search? (Score:5, Insightful)

    by ThosLives ( 686517 ) on Wednesday January 05, 2005 @09:54AM (#11262914) Journal
    For the life of me, I still can't quite figure out what all the hype is about desktop search.

    I can understand the hype about searching for things on other folks' computers (such as on the internet) because I don't have a priori knowledge about where to find some information.

    When I store things on my computer, however, I already (at some point) know where that bit of information is. I created my own "filing system" optimized for the way I think. You might say it's some sort of O(1) function to find something (now, navigating to that something might be a little more difficult). The human brain is way better about managing the location of objects than a computer (so far) in terms of retrieval.

    Think about it: the word "search" connotes looking for something you either think or know exists somewhere, but you don't know where. If you know where something is, you don't search for it but just go and grab it.

    Now, of course there are times when you haven't used something in so long that you might not remember where it is, and I can see how a search might come in handy for that. But if most people use computers like I use them, they use a small subset of the things on their computer very frequently, and the rest is archived away. I would have to say that less than 5% (that's a 95% confidence interval - it's probably way less than that) of my total computing experience (on my desktop) is spent on trying to find stuff.

    Does anyone out there know how "desktop search" is supposed to improve the way I do work when most of the time I am either creating new data (programs, documents, etc.) for a specific purpose or playing games? Am I missing something about the power of "searching" in general?

  • pick anything (Score:5, Insightful)

    by poptones ( 653660 ) on Wednesday January 05, 2005 @09:56AM (#11262928) Journal
    as a former windows power user who transitioned completely only about a year ago, let me offer this advice:

    Pick up an ubuntu cd, give it a partition, and use it more than the two minutes it takes to conclude it's not windows.

    Seriously. Forget windows is even there for a week. Pretend someone stole your old computer and all they left you with is this weird piece of shit doppelganger that sorta looks like your old pc, but everything's just a little "off."

    Accept the fact transitions are not always easy, and give this doppelganger a week of your computing life. Then go back to windows.

    And make sure you have some clean clothes handy, because you're going to need a shower afterward.
  • by DrSbaitso ( 93553 ) on Wednesday January 05, 2005 @10:00AM (#11262949)
    As the author points out, comparing Apple and MS isn't quite fair because MS is in the software business and Apple the hardware business (mostly). However, this is misleading:
    Why would Apple want to switch from making $100 off the sale of a computer, to $10 off the sale of an OS? Their market- and mind-share would have to instantly increase by ten times just to break even on that move. Linux is downloadable for free -- why would any company deliberately compete with that? Even Microsoft is bailing out into other markets, as fast as it can.

    The size of the profit (even if I believe his numbers) is irrelevant without considering both the number of units moved and the size of the profit margin. In MS' case, even if they are only making 10 bucks a copy on XP (which I highly doubt), the marginal cost to make it is like 50 cents, so they can essentially print money. However, he's right about the longterm viability of the operating system business; but if he doesn't think that Apple would switch places with MS from a pure business standpoint, he's wrong.
  • by Tony Hoyle ( 11698 ) <tmh@nodomain.org> on Wednesday January 05, 2005 @10:16AM (#11263036) Homepage
    OTOH having to specify "hot" for a cup of Earl Grey shows an inherent design flaw. Hell having to specify "Tea" is over the top. The only piece of useful information in that command is "Earl Grey".

    Note that Picard never specifies Milk and/or Sugar either. The computer is smart enough to know his preferences for that but not smart enough to realize he wants it hot? Pah.. 25th century programmers!!
  • by KiloByte ( 825081 ) on Wednesday January 05, 2005 @10:20AM (#11263066)
    1) is a valid point. The thing is, Macs are next to non-existant around here, and software developers like me simply have no choice.

    2) One word. "alias".

    3) Bash is Turing-complete, and if it's not enough, you can always extend it. I've once made a playlist by mpg123 `perl -e 'xxxxxxxx'` where xxxxxxx was around three screen lines long :p
    On the other hand, show me an explorer.exe/KDE/whatever way to say "change all the filenames in this dir to lowercase". Or even "rename all these files from *.foo to *.bar".
  • by Anonymous Coward on Wednesday January 05, 2005 @10:30AM (#11263168)
    Stepehenson's original article was in many ways a dispassionate review of past history. Where it was particularly brilliant was in its insights into behaviour.

    The annotation has added a lot of "Microsoft is Evil" commentary, while glossing over the past shortcomings of Apple. It detracts from the original.

    Another example of entropy, I guess.
  • by iainl ( 136759 ) on Wednesday January 05, 2005 @11:05AM (#11263485)
    Obviously it does in that particular example. But look at the sales and popularity of Doom Vs. Descent. Descent was vastly more impressive at the time, with its full 3D engine. The multiplayer mode was also stunning once you got the hang of it. But a huge, huge number of people were put off it because they kept getting lost, disorientated, or otherwise couldn't cope with the extra degrees of freedom.
  • Re:Desktop Search? (Score:1, Insightful)

    by Anonymous Coward on Wednesday January 05, 2005 @11:12AM (#11263526)
    The desktop search, IMO, is focused toward the basic user (i.e. grandma at home) and not for the computer geek. The problem with these basic users is that they don't organize their files because they don't care, don't know how, or don't want to take the time. They just dump everything into "My Documents" because that's the default to save something.

    What's needed is not a search engine, but a "utility" or file structure that forces the user to create a structure so that they can sort through them logically. If everything is filed correctly, then there should be no need to "search" your own files.
  • by Bios_Hakr ( 68586 ) <xptical@g3.14mail.com minus pi> on Wednesday January 05, 2005 @11:24AM (#11263632)
    I'd like to add that the majority of *useful* packages on *nix are controlled through the command line. In Windows, unless you have physical access to the box, you are screwed. Sure, you can do VNC once you are up and running, but you still can't configure DNS, IIS, or a hundred other parameters unless you have a mouse.

    Compare that to Linux where virtually every graphical way to accomplish something is usually a wrapper still reading and writing text files behind the scene.
  • The annotator's main point in response to Neal was that the right interface is the one that gets 'whatever work you are interested in' done.

    His constant comparisons to cars and drills and toasters miss the mark by a mile. Those appliances are not about extending your mind.

    Computers are about amplifying your mind's ability to process information. Large numbers of people agree with each other on how they want their toast prepared, their holes drilled, and their vehicles to work and can safely leave all the decisions about how best to do those things to specialists.

    Every person, however, has a different reaction to reading a great work of literature. There is enough overlap between people's experience in reading any given book that people can meaningfully discuss literature with each other, but not so much that we could expect another person to read Moby Dick for us and tell us what it means to us. The only way to know what Moby Dick would mean to you is to read it yourself.

    How telling that the annotator didn't want to touch Neal's last section, the left pinky of god, where he points out that this quest for the perfect interface to 'get something done' makes no more sense than a button labeled 'life my life for me.'

    You are the only one who can possibly make all the decisions that count as 'living your life.'

    I think programming (in the broader sense of understanding the hardware and software's theory of operation well enough to arrange the 'pieces' to carry out an analysis or goal), will become more and more a part of the average person's use of computers, just as reading and writing and thinking in general continue to become and larger part of the average person's life.

  • Gross Margin (Score:2, Insightful)

    by ShamusYoung ( 528944 ) on Wednesday January 05, 2005 @11:37AM (#11263748) Homepage
    The annotations really missed the mark for me here:
    Why would Apple want to switch from making $100 off the sale of a computer, to $10 off the sale of an OS? Their market- and mind-share would have to instantly increase by ten times just to break even on that move. Linux is downloadable for free -- why would any company deliberately compete with that? Even Microsoft is bailing out into other markets, as fast as it can.
    This person doesn't understand the difference between selling hardware and software. When you sell hardware, you have to buy all of the parts to build each and every machine, pay someone to assemble those parts, test the machines, box them up, and ship those heavy-ass boxes all over the planet. Thus, you have a lot of expenses to cover when you sell a machine.

    Software, on the other hand, is a whole different business. It costs you millions to develop a large piece of software, and that cost is fixed. It doesn't matter if you sell one copy or a million copies of the software, you still have to pay that initial up-front cost.

    However, once you have the software written, it's all gravy. You stamp out CD's for 40 cents each and send them in air-filled boxes for just a few cents more, yet consumers are often willing to pay over $100 for that box.

    Not only does MS sell more units (than any given hardware company, including Apple) but they make a much larger percentage than a hardware company because they can churn out additional units for nearly nothing. This is why Microsoft makes so much damn money. They've never been foolish enough to get into the hardware business. They stick to software, because that's where the money is.

  • by BrokenHalo ( 565198 ) on Wednesday January 05, 2005 @11:42AM (#11263786)
    I have been a big fan of the original article for many years, and much of it is still relevant.

    The marginalia referred to in this thread don't amount to much; they lack continuity with the article, and come across as the querulous interjections of an adolescent schoolboy. The commentator has a number of valid points (which I don't dispute), but he has a long way to go before he approaches Stephenson's calibre as a writer.

    Bottom line: if anybody is going to "revisit" the article, my preference would be for the original author to do so.

  • I want both! (Score:3, Insightful)

    by qray ( 805206 ) on Wednesday January 05, 2005 @11:42AM (#11263794)
    I find that I can do some things more efficiently on the command line while others are much easier with a gui.

    For instance, I have a directory, and I need to copy 10 out of a 100 files. There's no commonality between the ten nor are there any distinguishing characteristics. GUI's excel at this.

    Now I want to rename a bunch of files and add a old. prefix to them. That's easy on a command line, but difficult to accomplish on the current crop of GUI's, at least that I've used.

    So why slam either. Each is a tool with its own advantages and disadvantages.

    Keyboard isn't going away until something more efficient comes along. Sure there will be cooler input devices and they'll have strengths, but for general input into a computer nothing beat a keyboard out side of direct neural interface. It would be nice to see more efficient keyboards become mainstream.

    -- fiewl diwor dowe wutie er godist phudo
  • by ookaze ( 227977 ) on Wednesday January 05, 2005 @11:55AM (#11263920) Homepage
    OMG, do you even know what you are talking about ?

    I do not know 4NT, but from your example, I am pretty sure you do not know a lot about bash or even ksh.
    All the features you cite are already present in bash, and then a lot more.
    Saying shell scripting language is irrelevant today feels just plain arrogant and uneducated to me.
    Did you even hear about the shell commands ? script ? shell editor mode ? screen ?
    And bash is not stagnant, bash 3.0 was released some days ago for christ sake, with new features too.
    Thanks to GNU, shells are not stagnant and from solutions I still provide to companies today, with shell scripts, I can assure you it is not irrelevant.
  • Re:Gross Margin (Score:3, Insightful)

    by HeghmoH ( 13204 ) on Wednesday January 05, 2005 @12:32PM (#11264303) Homepage Journal
    This is why Microsoft makes so much damn money. They've never been foolish enough to get into the hardware business.

    Yeah, Microsoft would never [microsoft.com] get into the hardware [microsoft.com] business [microsoft.com].
  • I've heard enough! (Score:2, Insightful)

    by guitaristx ( 791223 ) on Wednesday January 05, 2005 @12:49PM (#11264432) Journal
    Both the original author and the annotator are missing the point, because they both, like the religious zealots that they are, have lost the ability to concede a point to the other side.

    The original author is unable to concede that a GUI can actually be more beneficial than a CLI in enough cases to justify its existence, and the annotator is unable to concede the converse - that the CLI is still a very powerful tool.

    The problem with this article, and the computing world in general, is that it has polarized itself into two camps:
    1. The James Hetfield "Command-line BAD!" camp, who will only appreciate DWIM computer features.
    2. The super-geeks, who, with their French accents and their four-dollar lattés, sneer at the technologically challenged and take pride in using the most obscure tools to complete their tasks.
    Until the most polarized people in both camps can get themselves to realize that both sides are wrong, we will never have the computing renaissance that we all dream of.
  • by Create an Account ( 841457 ) on Wednesday January 05, 2005 @01:00PM (#11264526)
    Well, I read about half of it. This guy, IMO, is not a great writer, nor a great bearer of insight into the issues involved (NS is both). A lot of his 'annotations' sound like he's just trying to argue with NS. I think the 'monkey' part was imaginative, but most of the rest was dreck. I don't think this guy was a good choice to update NS's work.
  • Apps != CLI (Score:2, Insightful)

    by edsterino ( 742447 ) on Wednesday January 05, 2005 @01:05PM (#11264582)
    The parent's example is ridiculous. The Windows CLI "can't do" the same thing, supposedly. That's bollocks. Both Unix and Windows CLIs provide for this. It's the *applications* availiable from the command line that this example relies on. There are find, grep and sed implentations for Windows. I think even the $1 can be handled by the DOS "for" command. It's not like the find command is the most usable command around, eh? I've met so many experienced Unix users that had no idea of all it was capable of. (And that {} syntax is so weird).

    It's true that the Unix CLI is more powerful but the Windows CLI with DOSKEY is quite reasonable.

    Besides, something as complicated as this command line is typically *much* better done as a simple script, IMO -- which is then invoked from the command line, of course.
  • by watanabe ( 27967 ) on Wednesday January 05, 2005 @01:09PM (#11264612)
    I'd let him comment on my writing, too. Just because it would make me look great.

    His writing is so abysmal that it just makes Stephenson look even smarter by comparison. I stopped after he turned the car dealer metaphor into a monkey metaphor.

    Monkeys? Chauffering me around? Dude, I'm freaking out. Car dealers I get. Linux, OS X, BeOS and Microsoft, I get.

    Chauffer monkeys? I don't get. Never had one, never want to have one. I don't even want to think about little blue-suit monkey-men driving me around. What kind of world do you live in??

    I'm stuck now, because I want to go back and re-read the original, but I can't take more of the monkeys. Google gave me this link: perhaps you all will appreciate it as well. Original Command Line essay without the monkeys [artlung.com].
  • by jackbird ( 721605 ) on Wednesday January 05, 2005 @01:51PM (#11265028)
    I can say that sentence at about 200WPM without rushing. Can you type it that fast?

    Can you speak continuously for an hour? Four hours?

  • by rpdillon ( 715137 ) on Wednesday January 05, 2005 @02:03PM (#11265165) Homepage
    My impression exactly. Well put.
  • by bnmm ( 846728 ) on Wednesday January 05, 2005 @05:06PM (#11268287)
    I couldn't have said it better. ...an Apple fan boy at his worst, showing the typical unsavoury combination of arrogance and ignorance spiced with the odd truism.

    Neither Neal's essay (well written) nor OSX (a very well done Unix) deserve that.
  • by Anonymous Coward on Wednesday January 05, 2005 @05:18PM (#11268476)
    Well put. I couldn't help feeling dirty after reading this guys comments. What a great piece of writing turned into a polemic.

    It takes a lot of knowledge to develop a good metaphor, one that doesn't obscure, and this little guy's interjections just destroyed an entertaining and quite informative read. The only thing that should be added, perhaps at the top to stop people like this, is

    " This is a metaphor, and not a history text. If taken literally it may cause mac users to being speaking in tounges. "

    - ac

An Ada exception is when a routine gets in trouble and says 'Beam me up, Scotty'.

Working...