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.

22 of 288 comments (clear)

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

    that was funny. Learn from him.

    1. 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.

    2. 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.

    3. Re:Dear Slashdot, by rolfwind · · Score: 4, Funny

      $ make love

      I put on my robe and wizard hat.

  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 garvon · · Score: 5, Funny

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

  3. No tab completion! by Anonymous Coward · · Score: 5, Insightful

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

  4. 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.

  5. 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.

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

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

  7. 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:/$

  8. 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
  9. 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!
  10. 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
  11. 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?
  12. 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
  13. 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.

  14. 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)

  15. 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.
  16. The petition is unnecessary... by headLITE · · Score: 5, Informative

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