Slashdot Mirror


XKCD Deploys Command Line Interface

ipquickly was one of a large number of users to note that the best on-line comic has just got a little better with the addition of a command line interface. You can also sign the petition to make the CLI permanent.

205 of 288 comments (clear)

  1. Dear Slashdot, by Jurily · · Score: 5, Interesting

    that was funny. Learn from him.

    1. Re:Dear Slashdot, by Anonymous Coward · · Score: 2, Funny

      up up down down left right left right b a

      do it a bunch of times

    2. Re:Dear Slashdot, by Jurily · · Score: 5, Interesting

      Flamewar time!

      guest@xkcd:/$ vi

      You should really use emacs.

      guest@xkcd:/$ emacs

      You should really use vim.

      guest@xkcd:/$ ed

      You are not a diety.

      guest@xkcd:/$ nano

      You should really use an editor.

    3. Re:Dear Slashdot, by plasticsquirrel · · Score: 3, Interesting

      Right, the last time Slashdot changed, it was just for a "new" layout. And the new layout just looked like the old layout, but with crawling JavaScript. The butt ugly pine-green-on-white was never even questioned. To get some volunteer graphic designers together for a new conceptual look would have made too much sense.

      Also, Arial? WTF, Slashdot? At least pick Verdana or Georgia in the stylesheets, two decent web fonts that ship with Windows. And why haven't we ever been able to post limited pre-formatted snippets of code? Not to mention some sort of glyph coverage beyond ASCII...?

      --
      Systemd: the PulseAudio of init systems
    4. Re:Dear Slashdot, by zx-15 · · Score: 4, Interesting

      Even better:
        guest@xkcd:/$ whoami
        You are Richard Stallman.
      Also, a rather weird command execution:

      guest@xkcd:/$ kill

      Terminator deployed to 1984

      But,

      guest@xkcd:/$ kill 1

      Unrecognized command. Type "help" for assistance.

      Command parser definitely needs some work

      guest@xkcd:/$ sudo -i

      sudo: -i: command not found

      Also I demand, while, for, if and which.

    5. Re:Dear Slashdot, by Petrushka · · Score: 1

      guest@xkcd:/$ sudo -i

      sudo: -i: command not found

      Ah, but:

      guest@xkcd:/$ sudo make me a sandwich

      Okay.

    6. Re:Dear Slashdot, by Thoguth · · Score: 2, Funny

      Shell shortcuts work, and the sandwich joke is in there, too...

      guest@xkcd:/$ make me a sandwich

      What? Make it yourself.

      guest@xkcd:/$ sudo !!

      sudo make me a sandwich

      Okay.

      --
      The requested URL /iframe/sig.html was not found on this server.
    7. Re:Dear Slashdot, by cplusplus · · Score: 1, Redundant

      Another fun one - the obligatory "sudo make me a sandwich" responds with "Okay."

      --
      "False hope is why we'll never run out of natural resources!" - Lewis Black
    8. Re:Dear Slashdot, by Jurily · · Score: 1

      Also:

      guest@xkcd:/$ finger
      Mmmmmm...
      guest@xkcd:/$ strip
      Unrecognized command. Type "help" for assistance.

    9. Re:Dear Slashdot, by colonelquesadilla · · Score: 1

      What are these "windows" of which you speak?

      --
      It's either false dichotomies, or the terrorists win, you decide.
    10. Re:Dear Slashdot, by nxtw · · Score: 2, Insightful

      Also, Arial? WTF, Slashdot? At least pick Verdana or Georgia in the stylesheets, two decent web fonts that ship with Windows.

      Slashdot's not using Arial, it's using the browser's default sans-serif font. For me, this is Helvetica.

    11. Re:Dear Slashdot, by RalphSleigh · · Score: 3, Interesting

      Right now for me it is:

      font-family:arial,sans-serif;

      Which is arial for me and anyone that has it installed, regardless of your browsers default choice (Calibri here) . If you are getting Helvetica you are probably using a mac.

      Brings up a interesting point, is there an addon/other way to make Firefox not use arial even if its installed and the page explicitly requests it?

      --
      Come as you are, do what you must, be who you will.
    12. Re:Dear Slashdot, by rolfwind · · Score: 4, Funny

      $ make love

      I put on my robe and wizard hat.

    13. Re:Dear Slashdot, by Blue23 · · Score: 1

      sudo shutdown

      su

      cat (without a filename)

      who

      look
      and then various go east/west/south

      --
      LITTLE GIRL: But which cookie will you eat FIRST? C. MONSTER: Me think you have misconception of cookie-eating process.
    14. Re:Dear Slashdot, by quickOnTheUptake · · Score: 1

      man mount

      --
      Mod points: Guaranteed to remove your sense of humor.
      Side effects may include gullibility and temporary retardation
    15. Re:Dear Slashdot, by TheSpoom · · Score: 1

      The funny thing is that the first thing I wondered was if I could get actual filesystem access through that somehow.

      I love my blackhat side.

      --
      It's better to vote for what you want and not get it than to vote for what you don't want and get it.
      - E. Debs
    16. Re:Dear Slashdot, by Molochi · · Score: 1

      THIS IS THE BEST XKCD EVER!!!

      Oh wait this isn't that other place.

      --
      "The Adobe Updater must update itself before it can check for updates. Would you like to update the Adobe Updater now?"
    17. Re:Dear Slashdot, by BrokenHalo · · Score: 1

      $ man woman
      No manual entry for woman
      $

    18. Re:Dear Slashdot, by dynamo52 · · Score: 1

      Brings up a interesting point, is there an addon/other way to make Firefox not use arial even if its installed and the page explicitly requests it?

      Stylish will allow you to customize any website using custom css. There are many pre-configured themes for popular websites that you can download and install... including slashdot.

      --
      Like this comment? I accept Bitcoin! - 153sc8UUBXyp12ofQqfAWDmJrzyiKCYC1x
    19. Re:Dear Slashdot, by rsidd · · Score: 1

      I have Arial installed, and "allow pages to choose their own fonts" checked. It shows slashdot in DejaVu Sans for me, which is my default sans-serif font (firefox on linux, and also chrome on linux). Some sites force Arial on me, but apparently not Firefox...

    20. Re:Dear Slashdot, by u38cg · · Score: 1

      Yes, write your own user stylesheet and specify your choice of font as !important.

      --
      [FUCK BETA]
    21. Re:Dear Slashdot, by RalphSleigh · · Score: 1

      Ok, when I view the whole story its in arial, but if I click on the link to my comment, the page is in my default sans-serif font..

      On the other point, I know there are myriad ways of adding your own CSS to a page, I just simply want to kill every occurrence of arial on the interwebs, some regex on every bit of incoming CSS should do it

      --
      Come as you are, do what you must, be who you will.
    22. Re:Dear Slashdot, by complete+loony · · Score: 1

      Uninstall the font from your filesystem?

      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    23. Re:Dear Slashdot, by Golddess · · Score: 1

      guest@xkcd:/$ cat

      You're a kitty!

      guest@xkcd:/$ man cat

      You are now riding a half-man half-cat.

      --
      "I'm not sure I like the fugnutish tone you used in your post!" -RogL (608926)-
  2. In this day and age... by Dripdry · · Score: 5, Insightful

    It would feel delicious, to me, that right when the iPad comes out, designed for people to consume more ephemeral and pointless information than ever, that a site like this would make itself slightly more exclusive by moving backwards on the user interface timeline.

    Bless your heart, xkcd!

    --
    -
    1. Re:In this day and age... by Drinking+Bleach · · Score: 5, Funny

      I support web sites that force both hands to be doing something. At least it makes us look more productive.

    2. Re:In this day and age... by Dripdry · · Score: 1

      I'm not sure that I have the proper authorization to comment on that... but I'll bet there are quite a few slashdotters who have many of those types of sites bookmarked!

      --
      -
    3. Re:In this day and age... by garvon · · Score: 5, Funny

      I work in the internet porn industry and we go for sites that can be surfed one handed.

    4. Re:In this day and age... by colonelquesadilla · · Score: 1

      mousing

      --
      It's either false dichotomies, or the terrorists win, you decide.
    5. Re:In this day and age... by jc42 · · Score: 1

      I support web sites that force both hands to be doing something.

      Hey, I can always find something to do with my other hand. ...

      Huh? No; I meant I can pick up my cup of coffee and take a drink. Why did you think I meant something else?

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    6. Re:In this day and age... by jdigriz · · Score: 1

      Now now, let's not be prejudiced. People can consume meaningful information on an iPad too. Most will just choose not to.

    7. Re:In this day and age... by Molochi · · Score: 1

      Oh, is that what the kids are calling it today?

      --
      "The Adobe Updater must update itself before it can check for updates. Would you like to update the Adobe Updater now?"
    8. Re:In this day and age... by SharpFang · · Score: 1
      --
      45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  3. No tab completion! by Anonymous Coward · · Score: 5, Insightful

    What is a shell without tab complete?!? Even Windows supports it.

    1. Re:No tab completion! by Tubal-Cain · · Score: 1

      That bugged me as well.

    2. Re:No tab completion! by dgatwood · · Score: 2, Interesting

      That's okay. They made up for it by occasionally disabling your backspace key, though it would have been better if they had inserted ^H, too. Or maybe that was just a random glitch.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    3. Re:No tab completion! by QRDeNameland · · Score: 3, Informative

      What is a shell without tab complete?!? Even Windows supports it.

      However, I was impressed that it implemented up-down arrow command history, and even "ls".

      I tried "rm -rf /" but permission was denied. :-)

      --
      Momentarily, the need for the construction of new light will no longer exist.
    4. Re:No tab completion! by John+Hasler · · Score: 1

      > I tried "rm -rf /" but permission was denied. :-)

      Be glad it wasn't granted. Locally.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    5. Re:No tab completion! by Jurily · · Score: 1

      I tried "rm -rf /" but permission was denied. :-)

      I almost tried that... reflexively in Konsole.

    6. Re:No tab completion! by Jurily · · Score: 1

      Most of the fun comes from guessing the available commands.

    7. Re:No tab completion! by Anonymous Coward · · Score: 1, Funny

      Try sudo rm -rf /, then try any other command.

    8. Re:No tab completion! by GNUALMAFUERTE · · Score: 1

      Most of the fun comes finding the available commands in the source code.

      There, FTFY

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    9. Re:No tab completion! by bittles · · Score: 1

      sudo rm -rf / worked for me, had to clear my session, ha.

    10. Re:No tab completion! by plasticsquirrel · · Score: 1

      What is a shell without tab complete?!? Even Windows supports it.

      What is a shell without tab completion? A traditional shell (get off my lawn). Tab completion was simply not available in shells for much of the history of Unix. Stepping away from the Linux world, it's quite common today to still find shells without tab completion.

      --
      Systemd: the PulseAudio of init systems
    11. Re:No tab completion! by timelorde · · Score: 1

      It's also the only way to figure out where to drop the magazine.

    12. Re:No tab completion! by robot256 · · Score: 3, Informative

      Randall certainly didn't make it easy to parse, though. There's no line breaks and all there a dozen different constructions for the commands.

    13. Re:No tab completion! by bmecoli · · Score: 1, Informative

      Which is why you run it through this.

    14. Re:No tab completion! by bennomatic · · Score: 1

      Did you try 'sudo rm -rf /'? It doesn't say anything when it runs, but all commands stop working afterwards. It's brilliant.

      --
      The CB App. What's your 20?
    15. Re:No tab completion! by gnapster · · Score: 1

      ^H and friends are available through sticky keys. press and release Ctrl, (look in the lower-left of the page) then press H.

    16. Re:No tab completion! by roll_w.it · · Score: 1

      Hilarious - I thought "rm -rf /forums" was funny.

        more
        ssh
        date
        echo
        who

    17. Re:No tab completion! by schnablebg · · Score: 3, Informative

      The code is GPL'd and on Gitbub.

      http://github.com/chromakode/xkcdfools

    18. Re:No tab completion! by selven · · Score: 1
    19. Re:No tab completion! by Thing+1 · · Score: 1

      The code is GPL'd and on Gitbub.

      Is that Wolverine's personal source code repository?

      --
      I feel fantastic, and I'm still alive.
    20. Re:No tab completion! by c_sd_m · · Score: 1

      I tried "rm -rf /" but permission was denied. :-)

      Try "sudo rm -rf /" then see if "ls" works.

    21. Re:No tab completion! by dzfoo · · Score: 1

      Oops! I broke it, thanks a lot!

        -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
    22. Re:No tab completion! by Rysc · · Score: 1

      Except that everybody and his brother running traditional unix will install a shell with tab completion.

      --
      I want my Cowboyneal
  4. Elsewhere Public Works by MrEricSir · · Score: 1

    XKCD's CLI a lot easier to use than the Elsewhere Public Works BBS:
    http://elsewherepublicworks.com/

    (Yes, it's part of an ARG. And yes, if you live anywhere near San Francisco you should be playing it already.)

    --
    There's no -1 for "I don't get it."
  5. Wait...this is a real story. by Anonymous Coward · · Score: 5, Funny

    Slashdot has completely missed the point of April fools day. They posted a REAL story in amongst the entire useless days worth of fake ones.

    1. Re:Wait...this is a real story. by Dthief · · Score: 1

      its April 2nd in some places already

      --
      www.RacquetUp.org - Helping Detroit Youth
  6. Re:Hasn't everyone written a bogus shell at some t by Penguinisto · · Score: 1

    This is cool as frig!

    It's actually very responsive, you can use a surprising number of standard *nix commands, and, well, damn - awesome job.

    Props to the XKCD guy (now why doesn't " sudo su - " work? :) )

    --
    Quo usque tandem abutere, Nimbus, patientia nostra?
  7. uname by Anonymous+Showered · · Score: 5, Informative

    guest@xkcd:/$ uname
    Illudium Q-36 Explosive Space Modulator

    and

    guest@xkcd:/$ su
    God mode activated. Remember, with great power comes great ... aw, screw it, go have fun.

    I lol'ed.

    1. Re:uname by Rathkan · · Score: 1

      guest@xkcd:/$ cat
      You're a kitty!

    2. Re:uname by MartinSchou · · Score: 1

      guest@xkcd:/$ whoami
      You are Richard Stallman.

      guest@xkcd:/$ cat
      You're a kitty!

      guest@xkcd:/$ bash
      You bash your head against the wall. It's not very effective.

    3. Re:uname by QRDeNameland · · Score: 1

      Try:

      guest@xkcd:/$ whoami

      --
      Momentarily, the need for the construction of new light will no longer exist.
    4. Re:uname by Rathkan · · Score: 1

      guest@xkcd:/$ vi
      You should really use emacs.

      guest@xkcd:/$ emacs
      You should really use vim.

      guest@xkcd:/$ find
      What do you want to find? Kitten would be nice.
      guest@xkcd:/$ find kitten

      {game about a robot finding a kitten, rogue-style}

      hahaha

    5. Re:uname by mycroft822 · · Score: 1

      guest@xkcd:/$ fuck
      I have a headache.

    6. Re:uname by liamoshan · · Score: 1
      guest@xkcd:/$ finger

      Mmmmmm...

    7. Re:uname by GNUALMAFUERTE · · Score: 2, Informative

      try wget http://google.com/

      it creates and iframe and loads the URL in there.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    8. Re:uname by ThoraX695 · · Score: 1

      This classic is in there too!

      guest@xkcd:/$ make me a sandwich
      What? Make it yourself.
      guest@xkcd:/$ sudo make me a sandwich
      Okay.

      --
      --ThoraX695
    9. Re:uname by icebraining · · Score: 1

      Using wget seems to be supposed to do something, but at least I couldn't get it to do anything useful.

      You have to start the url with "http://", or else it'll try to load "http://www.xkcd.com/$URL" in the iframe.

    10. Re:uname by Zarf · · Score: 1
      --
      [signature]
    11. Re:uname by Zarf · · Score: 1

      guest@xkcd:/$ look
      You are at a computer using unixkcd.
      Exits: west, south
      guest@xkcd:/$ go west

      --
      [signature]
    12. Re:uname by jabberw0k · · Score: 1

      $ light lamp
      You set your lamp ablaze.

    13. Re:uname by M8e · · Score: 1

      guest@xkcd:/$ go down

      On our first date?

    14. Re:uname by TheThiefMaster · · Score: 1

      guest@xkcd:/$ hello
      Hello.
      guest@xkcd:/$ finger
      Mmmmmm...
      guest@xkcd:/$ more
      Oh, yes! More! More!
      guest@xkcd:/$ make love
      I put on my robe and wizard hat.
      guest@xkcd:/$ fuck
      I have a headache.

      There are others too, like "go down"

  8. sudo by ZX3+Junglist · · Score: 5, Funny

    sudo make me a sandwich
    Okay.
    http://xkcd.com/149/

  9. Oblig. Sandwich. by Anonymous+Showered · · Score: 5, Funny

    guest@xkcd:/$ make me a sandwich
    What? Make it yourself.
    guest@xkcd:/$ sudo make me a sandwich
    Okay.
    guest@xkcd:/$

    1. Re:Oblig. Sandwich. by soulrider2k · · Score: 1

      it's actually better than this even...

      it knows about !!

      guest@xkcd:/$ make me a sandwich
      What? Make it yourself.
      guest@xkcd:/$ sudo !!
      sudo make me a sandwich
      Okay.
      guest@xkcd:/$

      --
      bryan
    2. Re:Oblig. Sandwich. by Stormbringer · · Score: 1

      *poof*

      You're a sandwich.

  10. "best" by spazdor · · Score: 1, Funny

    xkcd!?? But you just said "the best webcom-..

    OH I GET IT APRIL FOOLS

    --
    DRM: Terminator crops for your mind!
  11. Potty brain... by stefanlasiewski · · Score: 1

    Yes, sometimes I'm immature. But it's fun to find Easter eggs like this:

    guest@xkcd:/$ go left
    You cannot go left.
    guest@xkcd:/$ go right
    You cannot go right.
    guest@xkcd:/$ go forward
    You cannot go forward.

    guest@xkcd:/$ kill

    Terminator deployed to 1984

    guest@xkcd:/$ fuck
    I have a headache.
    guest@xkcd:/$ help fuck
    That would be cheating!

    --
    "Can of worms? The can is open... the worms are everywhere."
    1. Re:Potty brain... by ShadowRangerRIT · · Score: 4, Funny
      You missed:

      guest@xkcd:/$ go up
      You cannot go up.
      guest@xkcd:/$ go down
      On our first date?

      --
      $_ = "wftedskaebjgdpjgidbsmnjgcdwatb"; tr/a-z/oh, turtleneck Phrase Jar!/; print
    2. Re:Potty brain... by thetoadwarrior · · Score: 1

      try go down

    3. Re:Potty brain... by Petrushka · · Score: 2, Insightful

      guest@xkcd:/$ look
      You are at a computer using unixkcd.

      Exits: west, south
      guest@xkcd:/$ go west
      Life is peaceful there.

      Exits: east, west
      guest@xkcd:/$ go west
      In the open air.

      Exits: east, west
      guest@xkcd:/$ go west
      Where the skies are blue.

      Exits: east, west
      guest@xkcd:/$ go west
      This is what we're gonna do.

      Exits: east, west
      guest@xkcd:/$ go west
      Sun in wintertime.

      Exits: east, west
      guest@xkcd:/$ go west
      We will do just fine.

    4. Re:Potty brain... by Broken+Wind · · Score: 2, Funny

      I went west... life was peaceful there. Then I got eaten by a grue.

    5. Re:Potty brain... by BJ_Covert_Action · · Score: 1
      My favorite:

      guest@xkcd:/$ finger Mmmmmm...

      Also: wget http://slasdot.org/

      Let's me browse slashdot from a CLI inside of xkcd. I just had a netgasm.

  12. Whatever you do don't "go south" by pcx · · Score: 2, Interesting

    The new format is a bit more adventurous than it looks at first blush.

  13. I get "Sorry, the CLI requires JavaScript to work" by John+Hasler · · Score: 1

    I assumed initially that that was the joke. I guess a blank, unreponsive screen is funnier, though (but the prompt should be a single ".").

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  14. Re:Hasn't everyone written a bogus shell at some t by PIBM · · Score: 1

    Started out with

    sudo reboot

    oops :)

  15. try these commands.... by Anonymous Coward · · Score: 1, Informative

    make me a sandwich
    sudo make me a sandwich

  16. WGET! by Anonymous+Showered · · Score: 2, Informative

    # wget http://www.xkcd.com/

    You're going to love it.

    1. Re:WGET! by iccaros · · Score: 1

      wget http://xkcd.com/unixkcd love it twice

  17. Re:Hasn't everyone written a bogus shell at some t by mjschultz · · Score: 2, Informative

    I spent way too much time after I tried the most natural command line program `look`. Yeah, there is a tiny game in there too. Also, you still don't want to `sudo rm -rf /` cause then you'll have to restart the page.

  18. write by Tubal-Cain · · Score: 1

    It supports the write command. An IRC chat screen opens.

    1. Re:write by Anonymous+Showered · · Score: 1

      # irc

      also works!

  19. Shutdown? by CapOblivious2010 · · Score: 3, Interesting

    Try "sudo shutdown"

    1. Re:Shutdown? by Anonymous+Showered · · Score: 1

      Awesome.

    2. Re:Shutdown? by Trev311 · · Score: 1

      "sudo reboot" works too!

    3. Re:Shutdown? by el_tedward · · Score: 1

      sudo shutdown -r now doesn't work, though :(

  20. Text adventure! (sorta) by aafiske · · Score: 1

    Try looking around. Then try going west, young man.

  21. Re:I get "Sorry, the CLI requires JavaScript to wo by John+Hasler · · Score: 1

    Now I see that it requires googleapis.com. ROFL.

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  22. Check the source by penguinchris · · Score: 1

    The source code is available if you want to spoil all the jokes. There's a link on the bottom.

    1. Re:Check the source by digital_proletariat · · Score: 1

      Relevant code here

  23. Fun stuff by jtorkbob · · Score: 1

    $ whoami

    $ wget http://www.google.com/

    $ sudo rm -rf /

    $ vim
    $ emacs
    $ nano

    Now I will cheat and read the source code.

    --
    AC: Only on slashdot... could the sentence "My hovercraft is full of eels." be moderated "+4, Insightful
    1. Re:Fun stuff by Barny · · Score: 1

      Bah, you want the really fun one?

      use your arrow keys to,

      up up down down left right left right (then press) b a :)

      --
      ...
      /me sighs
  24. Re:retro by John+Hasler · · Score: 1

    > But requires Javascript to run.

    And googleapis.com. Pitiful, really.

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  25. Re:Hasn't everyone written a bogus shell at some t by Technician · · Score: 1

    I actually saw more of their site by the command line than I normaly do. I normaly read the comics. On the command line I explored and found they are building a school in Laos. Wow, I never knew that before. It is amazing what can be found from the command line. I like it.

    It was harder to read the comics from it though. I'll have to keep looking to find the archive.

    --
    The truth shall set you free!
  26. Nerdiness by Alcoholist · · Score: 1

    Awesome nerdiness. PgUp and PgDn work too. Now all it needs is a searching function:

    grep Megan xkcd | more

    Because we all know how much of a babe she is, even if she could stand to gain a few pounds.

    --
    Bibo Ergo Sum.
    1. Re:Nerdiness by GeckoAddict · · Score: 1

      "find kitten"
      "date" = March 32nd

  27. Infinite lives by Dachannien · · Score: 1

    Konami code FTW.

    Still doesn't protect you from that grue, though.

    1. Re:Infinite lives by beleriand · · Score: 1

      repeat 5 times

  28. Re:Hasn't everyone written a bogus shell at some t by mikael_j · · Score: 4, Informative

    "sudo su -" doesn't work but "sudo make me a sandwich" does.

    --
    Greylisting is to SMTP as NAT is to IPv4
  29. man commands by MattLaughs · · Score: 1

    guest@xkcd:/$ man last
    Man, last night was AWESOME.
    guest@xkcd:/$ man next
    Request confirmed; you will be reincarnated as a man next.
    guest@xkcd:/$ man woman
    Oh, I'm sure you can figure it out.
    guest@xkcd:/$ man help
    Man, help me out here.

    1. Re:man commands by M8e · · Score: 1

      guest@xkcd:/$ man next

      Request confirmed; you will be reincarnated as a man next.

  30. Other fun things to do by Virak · · Score: 5, Informative
    • Typing cat with an argument, naturally dumps that file to stdout. Typing cat without an argument does something entirely different.
    • On a semi-related note, typing "find kitten" lets you find kitten.
    • rm -rf / doesn't work because, like on any good *nix system, you're not normally running as root.
    • But you can use sudo with this (and several other things) to do it anyway.
    • apt-get upgrade (don't forget the sudo) will gladly suggest an upgrade to you if you're using Internet Explorer.
    • Both vim and emacs are available, in a manner.
    • man doesn't provide help for most commands, but it does provide some amusing responses for some of them.
    • Try typing "look".
    • Various commands don't really do anything, but provide amusing responses. Try ping, ssh, ed, kill, or asl.
    • There's a command for people who read the source code (along with, you know, the names of all the other commands), but you should find that on your own.
    • And many, many more!
    1. Re:Other fun things to do by TubeSteak · · Score: 5, Informative

      Everything is containted in this javascript:
      http://www.xkcd.com/unixkcd/xkcd_cli_all.js

      You can root around to figure out some of the more obscure commands.

      --
      [Fuck Beta]
      o0t!
    2. Re:Other fun things to do by creepynut · · Score: 3, Informative

      If you get it from here it's a little more readable: http://github.com/chromakode/xkcdfools/blob/master/xkcd_cli.js

      (found via the "source code" link at the bottom of xkcd.com)

    3. Re:Other fun things to do by MagicM · · Score: 2, Informative

      The Konami code is anything but obscure my good man...

      And it is also awsome.

    4. Re:Other fun things to do by Gumbercules!! · · Score: 1

      go west

      over and over again. I laughed

  31. date by arndawg · · Score: 1

    guest@xkcd:/$ date March 32nd

  32. Vi and emacs by ezdude · · Score: 1

    >>Vi >>You really should use emacs >>emacs >>You really should use vim

    1. Re:Vi and emacs by spikeb · · Score: 1

      nano>> you should really use an editor ed >> you are not a diety

  33. I read the source code. by Joeseph64 · · Score: 2, Informative

    And by reading the source code, I found out that "I read the source code" yields a text heart.

    Also, I cheated and read all the other commands you can use. (They're near the bottom of that file.)

  34. Note to Neal Stephenson by gmuslera · · Score: 1

    In the ending (at least of xkcd) still is the command line.

  35. A shell that requires JavaScript?!? by noidentity · · Score: 1

    Sorry, the CLI requires JavaScript to work. Please turn on JavaScript, or try the GUI Interface.

    In my day, command shells didn't require JavaScript just to work. And we had to type both sides of the exchange, uphill both ways, and in the snow.

    1. Re:A shell that requires JavaScript?!? by John+Hasler · · Score: 1

      > And we had to type both sides of the exchange, uphill both ways, and in the
      > snow.

      Lazy sods. We had to mail in decks of punch cards.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    2. Re:A shell that requires JavaScript?!? by sconeu · · Score: 1

      You had punch cards? We had to send in a textual description of the plugboard configuration. In triplicate. In Morse code. Over a telegraph line.

      --
      General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
    3. Re:A shell that requires JavaScript?!? by troll8901 · · Score: 1

      You had basements? We had to sleep in the wild open, and stay awake to fend off tigers, lions, vampires, and other creatures of the night. While enduring below-freezing temperatures and hailstorms the size of fists.

    4. Re:A shell that requires JavaScript?!? by Tubal-Cain · · Score: 1

      Better than the smoke signals I used.

  36. undocumented commands I've seen: by pushing-robot · · Score: 4, Informative

    (most taken from the xkcd forum thread)

    of course, (sudo) make me a sandwich
    uname
    su
    sudo shutdown
    sudo reboot
    logout
    pwd
    lpr
    clear
    rm -rf /
    find kitten
    buy stuff
    echo
    finger
    goto
    date
    irc/wget/curl
    wget/curl xkcd.com
    ping
    vi/vim/emacs/nano
    apt-get (moo)
    sudo apt-get (update/upgrade/dist-upgrade)
    moo
    hello (joshua)
    man (help) (cat) (last) (next)
    go (west) (east) (south) (north)
    look
    light (lamp)
    xyzzy
    whoami
    i read the source code
    asl
    cheat
    buy stuff

    --
    How can I believe you when you tell me what I don't want to hear?
    1. Re:undocumented commands I've seen: by Anonymous Coward · · Score: 1, Informative

      There's also "go down".

    2. Re:undocumented commands I've seen: by pushing-robot · · Score: 1

      and "reddit", though that's in the released source.

      --
      How can I believe you when you tell me what I don't want to hear?
    3. Re:undocumented commands I've seen: by ljaguar · · Score: 1

      there is also this :(){ :|:& };:

    4. Re:undocumented commands I've seen: by bkaul01 · · Score: 1

      And:
      go (down)

    5. Re:undocumented commands I've seen: by nanospook · · Score: 1

      Your list doesn't include fuck

      --
      Have you fscked your local propeller head today?
    6. Re:undocumented commands I've seen: by tian2992 · · Score: 1

      WOW, that was awesome, i tried it on my terminal, and BLAM! :D

    7. Re:undocumented commands I've seen: by Alphanos · · Score: 1

      Try entering "next" when viewing the most recent comic. Then try "enable time travel".

      --
      Alphanos
    8. Re:undocumented commands I've seen: by rastos1 · · Score: 1
      You can also do Ctrl-D for logout

      guest@xkcd:/$ logout
      Bye.

      Also the key Alt is recognized, but no idea what it can be combined with. Pressing Ctrl followed by Alt shows Alt-Ctrl in the left bottom corner, but adding Delete does nothing.

  37. man cat by techpain · · Score: 1

    guest@xkcd:/$ man cat You are now riding a half-man half-cat.

  38. Re:retro by ElectricTurtle · · Score: 4, Funny

    Yeah, because all of this could be done with plain HTML, obviously. Of course it's scripted. What do people expect?

    --
    I support the Slashcott and will not be reading or commenting from 2/10/14 to 2/17/14. Beta is steaming pile of dog shit
  39. Cool by GNUALMAFUERTE · · Score: 1

    guest@xkcd:/$ cheat
    *** FREE SHIPPING ENABLED ***

    Awesome. So fucking awesome.
    guest@xkcd:/$ sudo rm -rf /
    guest@xkcd:/$ ls
    Unrecognized command. Type "help" for assistance.

    --
    WTF am I doing replying to an AC at 5 A.M on a Friday night?
  40. Re:That was good. by EventHorizon_pc · · Score: 1

    Try entering "cheat"

  41. Re:Hasn't everyone written a bogus shell at some t by Anonymous Coward · · Score: 1, Informative

    One of the most elaborate ones I found is: http://www.masswerk.at/jsuix/

  42. Re:retro by thetoadwarrior · · Score: 3, Funny

    yeah well there is life fucking ruined for all of us.

  43. Re:retro by thetoadwarrior · · Score: 1

    Next thing they'll want to eat your children!

  44. next by Ageing+Metalhead · · Score: 1

    Type "next" at the first comic: Time Travel Mode Not Enabled lol

    --
    The knack of flying is learning how to throw yourself at the ground and miss. - HGTTG
  45. inspiration: pax lineups.. by Destoo · · Score: 1

    Very funny. Does seem inspired by the get in line Game at PAX and PAX East. (He was at pax east last weekend)
    While waiting in line, a host types text on a green screen type of term and asks questions to the crowd and launches interactive games, playable through txt'ing.
    More info on their website.
    http://getinlinegames.com/

    --
    Nouvelles de jeux et technologies en français. TC
  46. Re:Hasn't everyone written a bogus shell at some t by Jesus_666 · · Score: 1

    I also like the Pet Shop Boys reference. That really was my first thought when I saw one of the exits and how to get there.

    --
    USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
  47. I'm using w3m you insensitive clod! by martin-boundary · · Score: 1
    Here's what I see in w3m:

    --More--
    Alt-Ctrl- SCR LOCK

    unixkcd

    A webcomic of romance, sarcasm, math, and language.

    Sorry, the CLI requires JavaScript to work. Please turn on JavaScript, or try the GUI Interface.


    Art by Randall Munroe. XKCD CLI by Chromakode. Original CLI2 by Rod McFarland. Source code.

    Ironically, I can use the GUI interface just fine. Nooooooooooooooooooooooooooo!

  48. backwards?! by Junta · · Score: 1

    I found the interface, joke or no joke, to be exceedingly awesome from a functional standpoint.

    I want MORE websites with a design like this.

    --
    XML is like violence. If it doesn't solve the problem, use more.
  49. PC LOAD LETTER by jamesh · · Score: 1

    My only disappointment was that I didn't get a witty response when I typed "What the fuck does that mean?" in response to "PC LOAD LETTER". Oh well, 99/100 aint bad!

  50. Yes, but by bit9 · · Score: 5, Funny

    I've written a couple different fake shells, but usually just as a practical joke. Such as: C:\ > dir WARNING, ALL DATA ON NON-REMOVABLE DISK DRIVE C: WILL BE LOST! Proceed with Format? y Formatting 248.9 GB...3% I've also written a BSOD screensaver, which was really fun. I also once hacked someone's existing screensaver to throw in an occasional subliminal message like "Do it." or "Kill him." Oh, and don't forget the ol' replacing someone's desktop background with a screen-shot of their old desktop, and then deleting all the icons. That's always good for a few laughs.

    1. Re:Yes, but by veganboyjosh · · Score: 2, Interesting

      Not a prank since it was my own computer, but I once had a desktop at work with the image set as a screensaver being a screenshot of the same desktop. the icons were only slightly out of kilter, so it wasn't always obvious which ones were real or not. In a few weeks, the icons on the desktop changed, and it was more confusing.

      my boss hated it.

    2. Re:Yes, but by owlstead · · Score: 1

      Nice pranks :) I like to start up a VM in full screen mode and do a full format on the hard disk (hint, use a static sized *virtual* hard disk). The fun was that the last person I tried it on did not even notice my mail application running on the other monitor.

    3. Re:Yes, but by TheThiefMaster · · Score: 2, Funny

      I may have recreated the windows login screen once.

      It didn't actually work, of course. It always error'd when they tried to login, but it caught a fair few people whose usernames and passwords were identical.

    4. Re:Yes, but by RevWaldo · · Score: 1

      The best lo-fi ol-skool version of this type of prank is the black-construction-paper-between-the-monitor-and-the-anti-glare-screen trick. But you start to feel bad when floor support shows up.

  51. Possible bug? by benedictaddis · · Score: 2, Interesting

    rm store works even though it's a folder. Is this a bug?

  52. Already permanent. by Anonymous Coward · · Score: 5, Informative

    guest@xkcd:/$ hint

    This terminal will remain available at http://xkcd.com/unixkcd/

    The petition people need to use the source, luke.

    (hint is a random reply command, try it several times for that comment)

    1. Re:Already permanent. by libcrypto · · Score: 1

      Currently Broken.

      JavaScript Error:
      Warning: The 'charCode' property of a keydown event should not be used. The value is meaningless.
      Source File: http://uni.xkcd.com/ Line: 0

    2. Re:Already permanent. by aldld · · Score: 1

      Now located at http://uni.xkcd.com/

  53. Re:I get "Sorry, the CLI requires JavaScript to wo by maxume · · Score: 1

    Yeah, it loads jquery from there:

    http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js

    So Google knows that people loaded jquery from the XKCD page. How pernicious.

    --
    Nerd rage is the funniest rage.
  54. !New by memco · · Score: 1

    Now, I think this is just as cool as the next guy, but this isn't all that new. There is the Wordpress CLI, and others I'm sure.

    --
    Get me a meat pie floater!
  55. Re:Hasn't everyone written a bogus shell at some t by davidphogan74 · · Score: 1

    I loved typing next once, then (up arrow) (enter) over and over.

  56. Fork Bomb by wadey+fh · · Score: 1

    You can fork bomb the shell as well :) You have to do this exactly (with the proper whitespace to get it to work): :(){ :|:& };:

  57. Re:Hasn't everyone written a bogus shell at some t by jc42 · · Score: 5, Funny

    Well, "sudo make me a sandwich" works only in the minimal sense of replying "Okay."

    I'd have been more impressed if it replied "Okay, you're a sandwich."

    --
    Those who do study history are doomed to stand helplessly by while everyone else repeats it.
  58. April Fools by skam240 · · Score: 1

    So who wants to agree with me that Slashdot's April Fools was way more of an annoyance than it was anything positive. I visit news sites for news. If i wanted mock news I'd go to the Onion (which is great).

    --
    I ignore Anonymous Coward posts. If you want to discuss something, that's awesome. Log in.
    1. Re:April Fools by KingOfTheDustBunnies · · Score: 1

      But what if you happen to want mock news on April 1? Then Slashdot and other "real-news" sites are your only hope, seeing as how The Onion prints only real news for April Fools' Day.

  59. Re:I lol'ed by PottedMeat · · Score: 1

    I went south a few turns til I found my bed. Then command: sleep

    Funny :D

    Best site of the day!

  60. I Don't Like It by BlueBat · · Score: 1

    I saw it and tried random a few times and came out with the big comics but couldn't scroll up to see the beginning of the dang comic. Makes it very frustrating.

    1. Re:I Don't Like It by troll8901 · · Score: 1

      The Page Up and Page Down works in the CLI.

    2. Re:I Don't Like It by M8e · · Score: 1

      use scroll lock to enable scrolling.

  61. having troubles... by flogger · · Score: 1

    am having troubles with vi and emacs.....

    --
    ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
    "First things first -- but not necessarily in that order"
    -- The Doctor, "Doctor
  62. Obligatory xkcd by drsquare · · Score: 1
  63. !Lame by ConstantiusChlorus · · Score: 1

    For some reason I always associate April fools jokes with the word lame.

    This time the exclamation mark is at the front. Slashdot editors take note!

  64. Some more easter eggs by Nuitari+The+Wiz · · Score: 1

    guest@xkcd:/$ who

    Doctor Who?

    (on the last comic)
    guest@xkcd:/$ next

    Time travel mode not enabled.

    guest@xkcd:/$ enable time travel

    TARDIS error: Time Lord missing.

    guest@xkcd:/$ cat xkcd.com

    You're a kitty!

  65. Re:Hasn't everyone written a bogus shell at some t by Elvii · · Score: 1

    I have.. my first fake command line was in DOS, ages ago. My poor friend didn't let me touch his computer for a long time after that..

    --
    This sig left intentionally blank.
  66. it is now April 2nd @ 12:01 AM EDT by waterwingz · · Score: 2, Informative

    fun all done

    --
    . waterwingz
    1. Re:it is now April 2nd @ 12:01 AM EDT by Funnnny · · Score: 1

      Wow, now I can't use the command line anymore :(

  67. Re:Hasn't everyone written a bogus shell at some t by Anonymous Coward · · Score: 1, Informative
  68. Re:Hasn't everyone written a bogus shell at some t by Molochi · · Score: 1

    Yeah that was the first thing I tried.

    I was hoping for an easter egg, I mean it's easter right?

    --
    "The Adobe Updater must update itself before it can check for updates. Would you like to update the Adobe Updater now?"
  69. Re:Hasn't everyone written a bogus shell at some t by Molochi · · Score: 1

    "make me a sandwich" does just that.

    --
    "The Adobe Updater must update itself before it can check for updates. Would you like to update the Adobe Updater now?"
  70. Re:Hasn't everyone written a bogus shell at some t by JWSmythe · · Score: 1

        Actually, I spent a little time going through the javascript that runs it. There's more than one game. :) I copied the whole thing down so I can play with it later. I figured sometime today he'd take it away. It's gone now.

    --
    Serious? Seriousness is well above my pay grade.
  71. Re:Hasn't everyone written a bogus shell at some t by Molochi · · Score: 1

    oh found it.

    --
    "The Adobe Updater must update itself before it can check for updates. Would you like to update the Adobe Updater now?"
  72. Re:retro by Sir_Lewk · · Score: 2, Informative

    You do realize that HTML is just a Markup Language right?

    --
    "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
  73. Re:Hasn't everyone written a bogus shell at some t by nlewis · · Score: 2, Informative

    It's gone now.

    It's not completely gone - it's just been relocated here.

  74. Cool interface... by BrokenHalo · · Score: 2, Informative

    Just for curiosity's sake, I tried

    whoami
    and got
    You are Richard Stallman.

    And "pwd" yields
    You are in a maze of twisty passages, all alike.

  75. Full gender support in UNIXKCD by street_astrologist · · Score: 1

    guest@xkcd:/$ man woman

    Oh, I'm sure you can figure it out.

  76. The petition is unnecessary... by headLITE · · Score: 5, Informative

    ...it's still there if you use this link: http://xkcd.com/unixkcd/

    1. Re:The petition is unnecessary... by Anonymous Coward · · Score: 1, Informative

      It's not working though. Both FF and IE show JS errors.

    2. Re:The petition is unnecessary... by The+Aethereal · · Score: 3, Informative

      Not working for me either in FF or IE. Though I get no js errors. Just a prompt where I can't type anything.

    3. Re:The petition is unnecessary... by laserfeet · · Score: 1

      Ditto with FF on Ubuntu 8.04

  77. Re:retro by SharpFang · · Score: 1

    CGI+refresh...?

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  78. Re:retro by troll8901 · · Score: 1

    I think PP is referring to creating great April Fool's jokes, and nothing to do with hacking HTML.

  79. Re:Hasn't everyone written a bogus shell at some t by Robert+Zenz · · Score: 1

    And of course it is still on GitHub: http://github.com/chromakode/xkcdfools

  80. Re:Hasn't everyone written a bogus shell at some t by owlstead · · Score: 1

    Well, the first problem is that my computer reads that as (sudo)(make me)(a sandwich). And I don't want to be a sandwich.

  81. Re:retro by Sir_Lewk · · Score: 2, Interesting

    I think that is quite possibly the worst possible way something like this could possibly have been implemented. Congrats.

    --
    "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
  82. Re:Hasn't everyone written a bogus shell at some t by Rysc · · Score: 1

    Canonical but not much fun. This should be the behavior only if you set CANON_ME_HARDER to 1.

    --
    I want my Cowboyneal
  83. Re:GPL violation? by makomk · · Score: 1

    Nope. The GPL requires you to offer source in the preferred form for development. It looks like the changes in the live version were made directly to the stripped code on the website and only backported to the proper source code later, so they're meeting the GPL requirements.

  84. Browsing the comics.. by Hoegje · · Score: 1

    display 404 is another one I stumbled upon!

  85. Re:Hasn't everyone written a bogus shell at some t by dzfoo · · Score: 1

    I tried "cat lolz" and it responded with "You're a kitty!"

    Heh.

          -dZ.

    --
    Carol vs. Ghost
    ...Can you save Christmas?
  86. Tab by bobsledbob · · Score: 1

    What, no tab-complete?!

    --
    Beware of geeks bearing formulas.
  87. Re:Hasn't everyone written a bogus shell at some t by jc42 · · Score: 1

    Yeah, and I can remember thinking "How boring; I can think of several funnier replies" when I read that one.

    --
    Those who do study history are doomed to stand helplessly by while everyone else repeats it.
  88. Petition a scam? by epiteo · · Score: 1

    The petition appears to be scamming. I donated USD 10 when it said it was at 190 of 250 and then I got a mail and when I clicked it I got another request to donate and it still said 190 of 250.

    --
    ABCDEFCGHICJKHLCMNAOCDEFCHJKCHCGJDPMECQKKR
  89. recursive goodness by crtreece · · Score: 1
    wget http://xkcd.com/unixkcd/

    lather, rinse, repeat.

    --
    file: .signature not found
  90. Re:retro by SharpFang · · Score: 1

    You're welcome to suggest an alternative that conforms to the constraints: no JS, no flash, no extensions, browser only, any browser.

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2