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.

7 of 288 comments (clear)

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

  2. 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
  3. 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!
  4. 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?
  5. 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)

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

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