×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

cancel ×
This is a preview of your comment

No Comment Title Entered

Anonymous Coward 1 minute ago

No Comment Entered

288 comments

Hasn't everyone written a bogus shell at some time (0)

NixieBunny (859050) | about 4 years ago | (#31703510)

It's a lot of fun.

Re:Hasn't everyone written a bogus shell at some t (1)

Penguinisto (415985) | about 4 years ago | (#31703536)

This is cool as frig!

It's actually very responsive, you can use a surprising number of standard *nix commands, and, well, damn - awesome job.

Props to the XKCD guy (now why doesn't " sudo su - " work? :) )

Re:Hasn't everyone written a bogus shell at some t (2, Informative)

mjschultz (819188) | about 4 years ago | (#31703588)

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.

Re:Hasn't everyone written a bogus shell at some t (4, Informative)

mikael_j (106439) | about 4 years ago | (#31703664)

"sudo su -" doesn't work but "sudo make me a sandwich" does.

Re:Hasn't everyone written a bogus shell at some t (1)

Technician (215283) | about 4 years ago | (#31703652)

I actually saw more of their site by the command line than I normaly do. I normaly read the comics. On the command line I explored and found they are building a school in Laos. Wow, I never knew that before. It is amazing what can be found from the command line. I like it.

It was harder to read the comics from it though. I'll have to keep looking to find the archive.

Re:Hasn't everyone written a bogus shell at some t (1, Informative)

Anonymous Coward | about 4 years ago | (#31703828)

One of the most elaborate ones I found is: http://www.masswerk.at/jsuix/

Dear Slashdot, (5, Interesting)

Jurily (900488) | about 4 years ago | (#31703514)

that was funny. Learn from him.

Re:Dear Slashdot, (2, Funny)

Anonymous Coward | about 4 years ago | (#31703580)

up up down down left right left right b a

do it a bunch of times

Re:Dear Slashdot, (5, Interesting)

Jurily (900488) | about 4 years ago | (#31703648)

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.

Re:Dear Slashdot, (4, Interesting)

zx-15 (926808) | about 4 years ago | (#31703840)

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.

Re:Dear Slashdot, (3, Interesting)

plasticsquirrel (637166) | about 4 years ago | (#31703670)

Right, the last time Slashdot changed, it was just for a "new" layout. And the new layout just looked like the old layout, but with crawling JavaScript. The butt ugly pine-green-on-white was never even questioned. To get some volunteer graphic designers together for a new conceptual look would have made too much sense.

Also, Arial? WTF, Slashdot? At least pick Verdana or Georgia in the stylesheets, two decent web fonts that ship with Windows. And why haven't we ever been able to post limited pre-formatted snippets of code? Not to mention some sort of glyph coverage beyond ASCII...?

In this day and age... (5, Insightful)

Dripdry (1062282) | about 4 years ago | (#31703520)

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!

Re:In this day and age... (5, Funny)

Drinking Bleach (975757) | about 4 years ago | (#31703528)

I support web sites that force both hands to be doing something. At least it makes us look more productive.

Re:In this day and age... (1)

Dripdry (1062282) | about 4 years ago | (#31703540)

I'm not sure that I have the proper authorization to comment on that... but I'll bet there are quite a few slashdotters who have many of those types of sites bookmarked!

Re:In this day and age... (0)

Anonymous Coward | about 4 years ago | (#31703682)

wait, what would your other hand be doing?

Re:In this day and age... (5, Funny)

garvon (32299) | about 4 years ago | (#31703738)

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

No tab completion! (5, Insightful)

Anonymous Coward | about 4 years ago | (#31703526)

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

Re:No tab completion! (1)

Tubal-Cain (1289912) | about 4 years ago | (#31703530)

That bugged me as well.

Re:No tab completion! (2, Interesting)

dgatwood (11270) | about 4 years ago | (#31703566)

That's okay. They made up for it by occasionally disabling your backspace key, though it would have been better if they had inserted ^H, too. Or maybe that was just a random glitch.

Re:No tab completion! (3, Informative)

QRDeNameland (873957) | about 4 years ago | (#31703572)

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

However, I was impressed that it implemented up-down arrow command history, and even "ls".

I tried "rm -rf /" but permission was denied. :-)

Re:No tab completion! (0)

Anonymous Coward | about 4 years ago | (#31703594)

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

However, I was impressed that it implemented up-down arrow command history, and even "ls".

I tried "rm -rf /" but permission was denied. :-)

try again with sudo ;)

Re:No tab completion! (1)

John Hasler (414242) | about 4 years ago | (#31703680)

> I tried "rm -rf /" but permission was denied. :-)

Be glad it wasn't granted. Locally.

Re:No tab completion! (0)

Anonymous Coward | about 4 years ago | (#31703814)

> I tried "rm -rf /" but permission was denied. :-)

Be glad it wasn't granted. Locally.

sudo rm -f /

Re:No tab completion! (1)

Jurily (900488) | about 4 years ago | (#31703690)

I tried "rm -rf /" but permission was denied. :-)

I almost tried that... reflexively in Konsole.

Re:No tab completion! (1, Funny)

Anonymous Coward | about 4 years ago | (#31703774)

Try sudo rm -rf /, then try any other command.

Wait...this is a real story. (5, Funny)

Anonymous Coward | about 4 years ago | (#31703534)

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.

uname (5, Informative)

Anonymous Showered (1443719) | about 4 years ago | (#31703542)

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.

Re:uname (1)

Rathkan (1732572) | about 4 years ago | (#31703584)

guest@xkcd:/$ cat
You're a kitty!

Re:uname (1)

Rathkan (1732572) | about 4 years ago | (#31703622)

guest@xkcd:/$ vi
You should really use emacs.

guest@xkcd:/$ emacs
You should really use vim.

guest@xkcd:/$ find
What do you want to find? Kitten would be nice.
guest@xkcd:/$ find kitten

{game about a robot finding a kitten, rogue-style}

hahaha

Re:uname (1)

MartinSchou (1360093) | about 4 years ago | (#31703612)

guest@xkcd:/$ whoami
You are Richard Stallman.

guest@xkcd:/$ cat
You're a kitty!

guest@xkcd:/$ bash
You bash your head against the wall. It's not very effective.

Re:uname (0)

Anonymous Coward | about 4 years ago | (#31703618)

sudo shutdown now

Re:uname (0)

Anonymous Coward | about 4 years ago | (#31703640)

guest@xkcd:/$ pwd

You are in a maze of twisty passages, all alike.

Other fun things to do (5, Informative)

Virak (897071) | about 4 years ago | (#31703674)

  • 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!

Re:Other fun things to do (0)

Anonymous Coward | about 4 years ago | (#31703792)

Also, building on the Look, you can "go west" or "go south" etc.

Re:uname (0)

Anonymous Coward | about 4 years ago | (#31703678)

guest@xkcd:/$ pwd
You are in a maze of twisty passages, all alike.

guest@xkcd:/$ echo
Echo ... echo ... echo ...

Re:uname (0)

Anonymous Coward | about 4 years ago | (#31703768)

guest@xkcd:/$ finger

Mmmmmm...

Using wget seems to be supposed to do something, but at least I couldn't get it to do anything useful.

Re:uname (0)

Anonymous Coward | about 4 years ago | (#31703796)

try ping
sudo rm -rf /

Lesbian Orgy (0)

Anonymous Coward | about 4 years ago | (#31703546)

Mouse over today's image and read the information text.

Potty brain... (1)

stefanlasiewski (63134) | about 4 years ago | (#31703556)

Yes, sometimes I'm immature. But it's fun to find Easter eggs like this:

guest@xkcd:/$ go left
You cannot go left.
guest@xkcd:/$ go right
You cannot go right.
guest@xkcd:/$ go forward
You cannot go forward.

guest@xkcd:/$ kill

Terminator deployed to 1984

guest@xkcd:/$ fuck
I have a headache.
guest@xkcd:/$ help fuck
That would be cheating!

Re:Potty brain... (0)

Anonymous Coward | about 4 years ago | (#31703688)

go down :)

Whatever you do don't "go south" (2, Interesting)

pcx (72024) | about 4 years ago | (#31703562)

The new format is a bit more adventurous than it looks at first blush.

Re:Whatever you do don't "go south" (0)

Anonymous Coward | about 4 years ago | (#31703598)

look
light lamp
then you can go south without being eaten by a grue =)

Re:Whatever you do don't "go south" (0)

Anonymous Coward | about 4 years ago | (#31703716)

Try "light lamp" before "go south".

Re:Whatever you do don't "go south" (0)

Anonymous Coward | about 4 years ago | (#31703748)

the guru doesn't eat you if you "light lamp" before you "go south"

I get "Sorry, the CLI requires JavaScript to work" (1)

John Hasler (414242) | about 4 years ago | (#31703570)

I assumed initially that that was the joke. I guess a blank, unreponsive screen is funnier, though (but the prompt should be a single ".").

try these commands.... (1, Informative)

Anonymous Coward | about 4 years ago | (#31703576)

make me a sandwich
sudo make me a sandwich

Cool (0)

Anonymous Coward | about 4 years ago | (#31703624)

Best interface design I think the web has offered. Not sure I like it hot typing cd store removes the command line completely.

rofl (0)

Anonymous Coward | about 4 years ago | (#31703630)

guest@xkcd:/$ vi
You should really use emacs.
guest@xkcd:/$ emacs
You should really use vim.
guest@xkcd:/$ nano
You should really use an editor.
guest@xkcd:/$

shell commands (0, Redundant)

Jeremy Erwin (2054) | about 4 years ago | (#31703644)


guest@xkcd:/$ whoami
You are Richard Stallman.
guest@xkcd:/$ emacs
You should really use vim.
guest@xkcd:/$ vim
You should really use emacs.
guest@xkcd:/$ nano
You should really use an editor.

guest@xkcd:/$ sudo shutdown

The System is going down for maintenance NOW!

and it does.

Interestingly, tex is not installed.

find.... (0)

Anonymous Coward | about 4 years ago | (#31703646)

guest@xkcd:/$ find

What do you want to find? Kitten would be nice.

guest@xkcd:/$ find kitten

more commands (0)

Anonymous Coward | about 4 years ago | (#31703654)

more funny: emacs, vim, echo, man

shutdown (0)

Anonymous Coward | about 4 years ago | (#31703656)

guest@xkcd:/$ sudo shutdown

Whoops... sorry guys!

Nerdiness (1)

Alcoholist (160427) | about 4 years ago | (#31703660)

Awesome nerdiness. PgUp and PgDn work too. Now all it needs is a searching function:

grep Megan xkcd | more

Because we all know how much of a babe she is, even if she could stand to gain a few pounds.

man commands (1)

MattLaughs (891780) | about 4 years ago | (#31703668)

guest@xkcd:/$ man last
Man, last night was AWESOME.
guest@xkcd:/$ man next
Request confirmed; you will be reincarnated as a man next.
guest@xkcd:/$ man woman
Oh, I'm sure you can figure it out.
guest@xkcd:/$ man help
Man, help me out here.

I read the source code. (2, Informative)

Joeseph64 (1538923) | about 4 years ago | (#31703696)

And by reading the source code, [github.com] I found out that "I read the source code" yields a text heart.

Also, I cheated and read all the other commands [github.com] you can use. (They're near the bottom of that file.)

That was good. (0)

Anonymous Coward | about 4 years ago | (#31703698)

This was pretty good. especially the commands no listed in help, so far I have:
su
sudo
finger
vi
emacs
vim
rm
cat
display
echo
bash
ssh
exit

A shell that requires JavaScript?!? (1)

noidentity (188756) | about 4 years ago | (#31703714)

Sorry, the CLI requires JavaScript to work. Please turn on JavaScript, or try the GUI Interface.

In my day, command shells didn't require JavaScript just to work. And we had to type both sides of the exchange, uphill both ways, and in the snow.

Re:A shell that requires JavaScript?!? (1)

John Hasler (414242) | about 4 years ago | (#31703740)

> And we had to type both sides of the exchange, uphill both ways, and in the
> snow.

Lazy sods. We had to mail in decks of punch cards.

Re:A shell that requires JavaScript?!? (0)

Anonymous Coward | about 4 years ago | (#31703810)

In my day, command shells didn't require JavaScript just to work.

Yea, but in those days I had to go all the way to your basement to check your new shell.

undocumented commands I've seen: (4, Informative)

pushing-robot (1037830) | about 4 years ago | (#31703718)

(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

Re:undocumented commands I've seen: (1, Informative)

Anonymous Coward | about 4 years ago | (#31703746)

There's also "go down".

Baah (0)

Anonymous Coward | about 4 years ago | (#31703798)

I just lost interest. :\ I want to navigate by clicking a button. Not guessing how to navigate.

Cool (1)

GNUALMAFUERTE (697061) | about 4 years ago | (#31703812)

guest@xkcd:/$ cheat
*** FREE SHIPPING ENABLED ***

Awesome. So fucking awesome.
guest@xkcd:/$ sudo rm -rf /
guest@xkcd:/$ ls
Unrecognized command. Type "help" for assistance.

I lol'ed (0, Redundant)

ewe2 (47163) | about 4 years ago | (#31703830)

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

Load More Comments
Slashdot Account

Need an Account?

Forgot your password?

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>
Sign up for Slashdot Newsletters
Create a Slashdot Account

Loading...