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.
that was funny. Learn from him.
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!
-
What is a shell without tab complete?!? Even Windows supports it.
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.
guest@xkcd:/$ uname
Illudium Q-36 Explosive Space Modulator
and
guest@xkcd:/$ su ... aw, screw it, go have fun.
God mode activated. Remember, with great power comes great
I lol'ed.
sudo make me a sandwich
Okay.
http://xkcd.com/149/
guest@xkcd:/$ make me a sandwich
What? Make it yourself.
guest@xkcd:/$ sudo make me a sandwich
Okay.
guest@xkcd:/$
The new format is a bit more adventurous than it looks at first blush.
# wget http://www.xkcd.com/
You're going to love it.
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.
Try "sudo shutdown"
"sudo su -" doesn't work but "sudo make me a sandwich" does.
Greylisting is to SMTP as NAT is to IPv4
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
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.)
(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?
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
yeah well there is life fucking ruined for all of us.
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.
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.
rm store works even though it's a folder. Is this a bug?
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)
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.
fun all done
. waterwingz
I went west... life was peaceful there. Then I got eaten by a grue.
You do realize that HTML is just a Markup Language right?
"linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
It's gone now.
It's not completely gone - it's just been relocated here.
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.
...it's still there if you use this link: http://xkcd.com/unixkcd/
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)