13 ms·
go to xkcd.com: The webcomic XKCD now has a command prompt
- biotech 17y agohttp://xkcd.com/ http://xkcd.com/ The front page has an embedded command prompt. You can navigate the comics by typing "prev" and "next". It also supports some unix commands. According to "license.txt": Client-side logic for Wordpress CLI theme :: R. McFarland, 2006, 2007, 2008 jQuery rewrite and overhaul :: Chromakode, 2010
- groaner 17y agoThanks for the link. When I clicked the submission the first hit on the google search was, um, this page on HN.
- hendler 17y agoA good prank in itself.
- biotech 17y ago.. and now the second link is a reddit page. Since I wasn't able to use the original link (xkcd.com), I used a google search. I probably should have used the google search with the query "q=xkcd" instead. Unfortunately, I can't change the link target.
- nzmsv 17y agomake me a sandwich and sudo make me a sandwich both work
- vgrajag 17y agoFollowing commands work: - ls - emacs - vim - man - cd - random - date - man first - man last - man help - cat - display XXX (shows comic #XXX)
- deleted 17y ago[deleted]
- camtarn 17y ago"man cat" also works :)
- andrewpbrett 17y agopwd as well
- substack 17y agoI ran the source through jsbeautifier.org yielding this: http://gist.github.com/351418 http://gist.github.com/351418 Some fun stuff: * there is a MUD * find kitten launches a mini-game * apt-get moo * i read the source code
- deleted 17y ago[deleted]
- timthorn 17y agoDoesn't that spoil the fun of hunting for the Easter eggs?
- Luc 17y agoI was all excited and boggled by the idea of there being a MUD, but it's actually a (small) text adventure - not Multi User as far as I can see.
- nex3 17y agoIt's actually on GitHub, obfuscation-free (and linked from the site): http://github.com/chromakode/xkcdfools http://github.com/chromakode/xkcdfools
- clistctrl 17y agofunny, I didn't see anything that would log attempted commands. I was expecting a comic displaying a graph aggregating attempted commands, perhaps relating to a failed relationship of his.
- grndnl 17y ago"cat" "look" "man" "go" "light" "light lamp" "reddit" all work
- clumsy_culhane 17y agoTheres an adventure mode. Try "look" and "go"
- deleted 17y ago[deleted]
- sankara 17y agoAwesome! Today's date is March 32nd. guest@xkcd:/$ date March 32nd
- eam 17y agoI just noticed: Web Results 1 - 10 of about 157 for unixkcd. (0.04 nanocenturies) I didn't know google showed nanocenturies! EDIT: Apparently google is just having fun as when I refresh I also see: Web Results 1 - 10 of about 190 for unixkcd. (1.21 gigawatts) Web Results 1 - 10 of about 190 for unixkcd. (11.90 parsecs) Web Results 1 - 10 of about 198 for unixkcd. (0.02 femtogalactic years) Web Results 1 - 10 of about 198 for unixkcd. (0.09 microfortnights) Web Results 1 - 10 of about 190 for unixkcd. (0.12 centibeats) All interesting units of time. :)
- shrikant 17y agoI got: Results 1 - 10 of about 297 for unixkcd. (2.00 shakes of a lamb's tail)
- deleted 17y ago[deleted]
- jballanc 17y agoExtra Internet bonus points for nailing 2 April Fools jokes with 1 HN post!
- deleted 17y ago[deleted]
- ck2 17y agoI got (28.47 jiffies)
- castis 17y ago1.07 times the velocity of an unladen swallow, at warp 9.11, 0.31e+43 Planck times
- thalur 17y ago(0.55 times the velocity of an unladen swallow)
- tensafefrogs 17y agoThis is great, but I wish it supported "find"
- chromakode 17y agoTry "find kitten". :)
- deleted 17y ago[deleted]
- iag 17y agoThis has got to be the coolest website for geeks. props.
- rao 17y agoAll commands "xkcd_cli.js": http://github.com/chromakode/xkcdfools/blob/8602db51189fe555b8cc9185440512bdaa6d236e/xkcd_cli.js http://github.com/chromakode/xkcdfools/blob/8602db51189fe555...
- deleted 17y ago[deleted]
- amohr 17y agothe adventure map: 0:{description:'You are at a computer using unixkcd.', exits:{west:1, south:10}}, 1:{description:'Life is peaceful there.', exits:{east:0, west:2}}, 2:{description:'In the open air.', exits:{east:1, west:3}}, 3:{description:'Where the skies are blue.', exits:{east:2, west:4}}, 4:{description:'This is what we\'re gonna do.', exits:{east:3, west:5}}, 5:{description:'Sun in wintertime.', exits:{east:4, west:6}}, 6:{description:'We will do just fine.', exits:{east:5, west:7}}, 7:{description:'Where the skies are blue.', exits:{east:6, west:8}}, 8:{description:'This is what we\'re gonna do.', exits:{east:7}}, 10:{description:'A dark hallway.', exits:{north:0, south:11},
- ks 17y agoSee this video to understand the reference: http://www.youtube.com/watch?v=7NZ04BG7TfA http://www.youtube.com/watch?v=7NZ04BG7TfA
- pavelludiq 17y agoCOOL. Vimperator totally screws with it though.
- mmavnn 17y ago<c-z> enters passthrough mode.
- shrikant 17y agosudo apt-get upgrade What does Randall have against Firefox?
- Roridge 17y agonothing, it's a joke about upgrading from a command prompt to a gui
- TorKlingberg 17y agoNo, he put a || where I think it was meant to be &&: if (($.browser.name == 'msie') || ($.browser.name == 'firefox' || $.browser.versionX < 3)) {
- chromakode 17y agoThis is true. Sleep deprivation and logic don't mix well. :)
- Roridge 17y agoshame, would have been funnier if it were a joke.
- Roridge 17y agowith no sense of irony re the date either
- btipling 17y agolot's of locate commands: locate ninja for example. ninja: "Ninja can not be found!", keys: "Have you checked your coat pocket?", joke: "Joke found on user.", problem: "Problem exists between keyboard and chair.
- davewasthere 17y agoWith javascript disabled the link to 'Gui interface' is borked. http://www.xkcd.com/foo http://www.xkcd.com/foo
- stralep 17y agoshutdown -h 100000 And it goes immediately... Not good :)
- caffogene 17y agogoto comicnumber takes you the designated comic
- NathanKP 17y agoI hope this is a permanent feature, not just for April Fools day.
- Jeema3000 17y agoguest@xkcd:/$ man next Request confirmed; you will be reincarnated as a man next.
- deleted 17y ago[deleted]
- tybris 17y agoman cat
- sili 17y agorm -rf works for the directories listed and will actually remove the link until you reload.
- suninwinter 17y agowget http://xkcd.com http://xkcd.com
- blaix 17y agoThat was neat. I tried to do it recursively. Doesn't seem to work, unfortunately.
- erlanger 17y agoguest@xkcd:/$ whoami You are Richard Stallman. guest@xkcd:/$ who Who are you? guest@xkcd:/$ cat You're a kitty!
- maukdaddy 17y agoguest@xkcd:/$ fuck I have a headache.
- deleted 17y ago[deleted]
- listic 17y agoUnfortunately, some comics and a robotfindskitten game don't fit to my laptops' 1024x768 screen (I have all unnecessary toolbars removed) But still, very nice for a one-off feature that will only be available for one day.
- dpritchett 17y agoClojurian Fogus has had the same for a while: http://blog.fogus.me/index.php?wptheme=CLI http://blog.fogus.me/index.php?wptheme=CLI
- fogus 17y agoIt looks like the XKCD is made from the same base code, but with a much nicer command interface. I'm going to have to move to their codebase.
- prosa 17y agoProtip: sudo rm -rf /
- TrevorBurnham 17y agoI tried that as well. And was very relieved when everything came back on refresh. :) I'm impressed at that level of attention to detail. The license.txt file points you to the source of the command line interface, which is a Wordpress plugin: http://groups.google.com/group/wordpress-cli http://groups.google.com/group/wordpress-cli
- kylemathews 17y agoif you keep typing "go west" it lists the chorus from the Pet Shop Boys song "Go West" http://www.sing365.com/music/lyric.nsf/GO-WEST-lyrics-Pet-Shop-Boys/C0B89357A668B2E9482568A2001030CC http://www.sing365.com/music/lyric.nsf/GO-WEST-lyrics-Pet-Sh...
- rpledge 17y agoreboot sudo reboot
- kmod 17y agoInterestingly, you can see it log every unrecognized command via a GET request to /unixkcd/missing (look at source/firebug). It appears that he's been updating the source code with things that people commonly try ('rm' didn't used to be supported); I also look forward to a "what you crazy people on my site tried" comic.
- meese_ 17y ago$ vi You should really use emacs. $ emacs You should really use vim.
- marknutter 17y ago$ nano Seriously? Why don't you just use Notepad.exe? Or MS Paint?
- yosho 17y agotry "asl" best one yet!
- algorias 17y agoguest@xkcd:/$ ping There is another submarine three miles ahead, bearing 225, forty fathoms down.
- CJcay 17y agoCheat gets you free shipping?
- thisduck 17y agoguest@xkcd:/$ more Oh, yes! More! More!
- thisduck 17y agosadly, 'kill' does not work.
- Kakarookee 17y agoDoes now
- abstractbill 17y agoHey, it uses mibbit for its irc client - congrats axod :)
- bobbyi 17y agoI tried for three seconds and realized I can't use a command line without tab-completion.
- JohnThomas 17y agoalso works: sudo shutdown -h now does not work: shutdown -h now
- deleted 17y ago[deleted]
- bigbang 17y agoguest@xkcd:/$ top It's up there --^ guest@xkcd:/$ nano Seriously? Why don't you just use Notepad.exe? Or MS Paint? guest@xkcd:/$ vi You should really use emacs. guest@xkcd:/$ go down On our first date? guest@xkcd:/$
- Kakarookee 17y agoASL
- ninguem2 17y agoguest@xkcd:/$ xinit Unrecognized command. Type "help" for assistance.
- araneae 17y agoYou can get free shipping at the xkcd store. cheat mode cd store
- Kakarookee 17y agoasl 6/m/battleschool I AM SO PLEASED
- nalbyuites 17y ago$dig xkcdsucks.blogspot.com Unrecognized service.
- yarrh 17y ago~sigh~ Swordfish doesn't do anything Neither does Pass, Password, onMouseOver, or mouseover
- crosvenir 17y agoFavorite so far: > go Go where? > go there You cannot go there.
- Kakarookee 17y agoI want the lost numbers to work 4815162342