Difference between revisions of "unixkcd"
m |
|||
| Line 142: | Line 142: | ||
[[Category:Comics featuring Richard Stallman]] | [[Category:Comics featuring Richard Stallman]] | ||
[[Category:Computers]] | [[Category:Computers]] | ||
| − | [[Category:Dynamic comics]] | + | [[Category:Dynamic comics|0721]] |
Revision as of 20:35, 22 February 2025
| unixkcd |
Title text: none |
This is one of 52 incomplete explanations:
|
This is another one of Randall's April fools' comics. On April 1, 2010, Randall altered the xkcd.com website to mimic a Unix command-line interface. This interface is still available on uni.xkcd.com and the source code is available on GitHub. The comic 721: Flatland, released on March 31, 2010, was still up on April 1, 2010, but was unrelated to the Unix interface. The terminal only lists a few available commands, but most commands are undocumented.
Documented commands
-
nextshows the next comic. It shows the error "Time travel mode not enabled" on the last comic (seeenable time travelbelow). -
prevshows the previous comic. -
firstshows the first comic. -
lastshows the last comic. -
display [number]shows the comic with the specified number. (Trying to display comic 404 will result in an endless loading attempt.) -
randomshows a random comic. -
lsshows the content of the current directory. -
cat [filename]shows the content of the file, or "You're a kitty!" if [filename] is left blank. -
cd [directory]changes to the specified directory.
Undocumented commands
-
:(){:|:&};:This command, otherwise known as a shell fork bomb will make the terminal display the[. . .]loading text indefinitely, as though it crashed. -
a/s/lA/S/L is not a Unix command, but an acronym of Age/Sex/Location. The following replies are possible:- "2/AMD64/Server Rack", answered as if the server replied.
- "328/M/Transylvania", answered by Dracula.
- "6/M/Battle School", answered by Ender Wiggin or another boy from battle school.
- "48/M/The White House", answered by Barack Obama or another male of the same age in the White House.
- "7/F/Rapture", answered by a Little Sister from BioShock.
- "Exactly your age/A gender you're attracted to/Far far away.", Requests for a/s/l are often not answered truthfully, but crafted to suit the one asking the question.
- "7,831/F/Lothlórien", answered by Galadriel or another elf.
- "42/M/FBI Field Office", answered by an FBI agent (referencing the old trope that all girls on the internet are FBI agents impersonating them).
-
apt-getreplies "This APT has Super Cow Powers.". Theapt-getcommand is part of the Debian package manager APT. This reply is one of the built-in Easter eggs. -
apt-get mooreplies "Have you mooed today" with an ASCII cow. -
aslsame asa/s/l. -
bashreplies "You bash your head against the wall. It's not very effective.". Bash is a shell for POSIX-based systems. -
buy stuffsame ascd store. -
cat [number]/alt.txtdisplays the title text of the specified comic. -
cat(without a filename, or an invalid one) will show "You're a kitty!", possibly referencing 231: Cat Proximity. -
cheatpromotes the xkcd store. -
clearclears the screen. -
curlcreates an iframe to the URL specified -
datereplies "March 32nd" (instead of April 1st), which is not a real date.[citation needed] -
dirsame asls. -
display title textwill print: display: unable to open image "title": No such file or directory. in red text. -
echoreplies "Echo ... echo ... echo ...". The echo command is used to print text to the terminal. -
edreplies "You are not a diety [sic].". ed is a very simple text editor. It is usually not considered very user-friendly (see alsoviandemacs). -
emacsreplies "You should use Vim.". References 378: Real Programmers. -
enable time travelreplies "TARDIS error: Time Lord missing.". A Doctor Who reference. See also thenextcommand. -
exitwill end the terminal session. -
find kittenshowed the robotfindskitten game (the link to the Flash version no longer works, but an HTML version is available here). -
findreplies "What do you want to find? Kitten would be nice.". -
fingerreplies "Mmmmmm...".finger USERis used on UNIX-like systems to get information about another USER (here, Randall is taking advantage of its suggestive name... pardon the pun). -
fuckreplies "I have a headache.". -
goto [any]shows comic 292: goto and asks if you meantdisplayinstead. -
go backreplies "You cannot go back." -
go downreplies "On our first date?" -
halpsame ashelp. -
Hello Joshuareplies "How about a nice game of Global Thermonuclear War?". A reference to the WarGames movie. -
helloreplies "Hello.". A second reply "Why hello there!" is coded, but it is never used. -
helpsays "That would be cheating!". -
hireplies "Hi.". -
hintrandomly replies "We offer some nice polos.", "This terminal will remain available at xkcd.com/unixkcd/", "Use the source, Luke!" or "There are cheat codes.". -
i read the source codereplies "<3". -
irc [nick]starts an IRC session on the xkcd channel on irc.foonetic.net. -
killreplies "Terminator deployed to 1984.". A reference to the Terminator movie. In Bash,killis used to end a process. -
latestdisplays the latest comic. -
locate [filename]is normally used to locate a file in a directory. It will give humorous results when searching forninja,keys,joke,problemandraptor. -
logoutsame asexit. -
lprreplies "PC LOAD LETTER". lpr is a command to print documents. PC_LOAD_LETTER is a printer error. -
make lovereplies "I put on my robe and wizard hat.". A reference to this roleplay chat transscript (NSFW), also mentioned in 442: xkcd Loves the Discovery Channel.make loveis a standard Unix joke, because the reply is "make: don't know how to make love.". -
make me a sandwichbehaves like 149: Sandwich. -
man [command]show unhelpful information about the command (onlylast,help,next,cator no command are supported). -
mooreplies "moo". -
morereplies "Oh, yes! More! More!". The more command is used to paginate output. -
nanoreplies "Seriously? Why don't you just use Notepad.exe? Or MS Paint?". Nano is another text editor for Unix systems (seeviandemacs). -
pingreplies "There is another submarine three miles ahead, bearing 225, forty fathoms down.". The ping command is used to measure round trip times to a destination. The name does indeed originate from sonar technology. -
pwdreplies "You are in a maze of twisty passages, all alike.". The pwd command prints the current working directory (seelook). The output is a reference to Colossal Cave Adventure. -
poweroffsame asshutdown. -
quitsame asexit. -
reddit [number]shows the Reddit voting bar for the specified comic (or xkcd when no number is specified). -
rm [filename]will "remove" a file, whilerm -rwill remove a directory. (sudo rm -rf /will break all commands until the page is reloaded.) -
serenityreplies "You can't take the sky from me.". This is a line from the Balad of Serenity from the Firefly TV series. Serenity is also the name of an Operating System (that Randall probably wasn't thinking of): SerenityOS. -
shutdownreplies "Must be root.". See alsosudo poweroff. -
sshreplies "ssh, this is a library.". ssh is the command to start a secure shell, but it also resembles the "Shh" sound. -
sureplies "God mode activated. Remember, with great power comes great ... aw, screw it, go have fun.". The su command is used to log in as an upper user, which gives you full and potentially dangerous access to the system. On some systems, "with great power comes great responsibility" is also part of a message that is printed the first timesudois used. -
sudo [command]executes the command with root privileges. -
sudo apt-get dist-upgradeReturns "You are already running [OS].". -
sudo apt-get mooreplies "Have you mooed today?" (apt-get Easter egg). -
sudo apt-get updateRefreshes the package list so the system knows which updates are available. -
sudo apt-get upgradeshows a link to A Better Browser on Internet Explorer and Firefox (< v3). On all other browsers, it doesn't complain. -
sudo make me a sandwichbehave like 149: Sandwich. -
sudo !!will sudo the last command. -
sudo poweroffwill shutdown the system. -
sudo rebootwill restart the system. -
sudo restartsame assudo reboot. -
sudo shutdownsame assudo poweroff. -
sudo sudowill print An internal error occurred: RangeError: Maximum call stack size exceeded in red text. -
time traveldisplays 630: Time Travel. -
topreplies "It's up there --^". The top command shows a table of processes. Here it is taken literally. -
unamereplies "Illudium Q-36 Explosive Space Modulator".unameon Unix lists system information. The Illudium Q-36 Explosive Space Modulator is an explosive device created by Marvin the Martian in the Looney Tunes series. -
unixkcdopens a new terminal window. -
use the force lukereplies "I believe you mean source.", a reference to the Force in the Star Wars franchise. -
use the source lukereplies "I'm not luke, you're luke!", an old programmers' joke. -
vireply "You should use emacs.". References 378: Real Programmers. -
vimsame asvi. -
wget [url]shows the content of the specified url. The wget command on Unix will download the content and not show it. -
whoreplies "Doctor Who?". Another Doctor Who reference. Thewhocommand on Unix lists the logged-in users. -
Whoamireplies "You are Richard Stallman.". The whoami command lists the name of the current user. Richard Stallman is the creator of the GNU project and the Free Software Foundation. -
write [nick]same asirc. -
xkcdreplies "Yes?". -
xyzzyreplies "Nothing happens.". xyzzy is a magic word, originally used in the game Colossal Cave Adventure. -
your gayreplies "Keep your hands off it!". -
!!reruns the previous command after stating the command.
Game commands
- There are also some other commands borrowed from a Zork like text-based adventure game.
-
lookdescribes your current surroundings. -
go [direction]moves you in the specified direction. -
light lamplights your lamp. -
sleep [seconds]sleeps for the specified time. Without specifying, the nap is 5 seconds. - You will be killed by a grue if you don't light your lamp when going south. Going West repeatedly will list the refrain from the song Go West.
Konami code
The terminal also responds to the Konami code Up, Up, Down, Down, Left, Right, Left, Right, B, A. Entering this code repeatedly will, in order:
- Transform all characters to uppercase
- Add a greatest shadow
- Add an orange text-shadow
- Shake the screen
- Add a background image of Richard Stallman from 345: 1337: Part 5.
Discussion
Red link... — The 𝗦𝗾𝗿𝘁-𝟭 talk stalk 10:45, 11 October 2020 (UTC)
has skmone made an actual CLI based on these commands? 172.69.214.224 02:12, 22 November 2023 (UTC)
The Konami Code isn't working for me, does anyone else have this problem? Psychoticpotato (talk) 18:50, 10 May 2024 (UTC)
Should we consider this a comic? I don't know how to think about it. Blue Eyes wasn't a comic but we still consider it as one. --FaviFake (talk) 09:31, 22 February 2025 (UTC)
The moo still works after sudo rm -rf / (--no-preserve-root) 172.68.22.41 (talk) 05:07, 16 April 2025 (please sign your comments with ~~~~)
Entering the Konami code ~10^36^100^69 times makes the sun turn into a black hole. It might be unrelated to me doing it, but who's going to prove me wrong? GruefromZork (talk) 13:19, 2 May 2025 (UTC)
It looks like someone was writing the a/s/l for Galadriel and got cut off? I don't know enough about LOTR to try and fix that, but someone should. R128 (talk) 01:05, 4 November 2025 (UTC)
- Fixed the broken wikilink (typo?) and fixed up/continued the abbreviated bit that came after, as I saw fit.
- Did not note, in that, that the age given is what Galadriel would have given around 500 years before the events of the Hobbit/LOTR stories (if I've got that right, myself). But with the lack of other obvious 'F' elves, I'm happier to just assume it's her reply from elsewhen rather than a 'current' message from any unnamed/barely-mentioned fellow elfin born half a millenium after her. (Arwen was only a couple of millenia old, and came from Rivendell as well. And I'd honestly be hard pressed to recall any other female LOTR elf that featured in the prose, and not just a box in the geneology diagrams from the appendices. The real Tolkien scholars/book-memorisers could have other ideas, of course. Or identify which 'prequel' tales might have inspired this instance.) 82.132.245.109 04:40, 4 November 2025 (UTC)
Add comment
