30
u/drummerx357 Feb 22 '11
And Mr. Connery, you wrote: cd /h/trebeksMother/sexualPartners ls error: stack overflow
4
2
→ More replies (1)1
u/nonesuchplace Feb 22 '11
TIL this app doesn't display line breaks correctly. I didn't get your joke until I realized the ls command was supposed to be on the next line.
79
Feb 21 '11
I haven't used linux or unix since college, but I think it wouldn't work if you typed in "What is" before the rest of it.
20
Feb 21 '11
There's a who command. I guess you could say "who is && mkfs /dev/sda1". That would probably work.
1
u/_argoplix Feb 22 '11
but can you tell me what is the command to extract and print sccs versions strings from a binary?
0
5
u/adamhos Feb 21 '11
You would do:
what is; rm -rf /
the 'what is' would error out, then the second command would run
2
u/DanielKlavitz Feb 22 '11
That and the fact that Watson would be running a command to output the text required to execute a format, not running the text as a command.
1
114
u/johnnyricoo Feb 21 '11
Joke explainer for the computer illiterate?
520
u/JshWright Feb 21 '11
Someone with approximately your level of familiarity with Linux file system utilities tried to make a joke.
90
u/zeppelin4491 Feb 21 '11
Joke explainer for the stereotypical Linux-nerd response illiterate?
274
Feb 22 '11 edited Feb 22 '11
The joke is supposed to be that the final Jeopardy question effectively forced Watson, which runs on Linux, to use the Linux command to format its hard drive. Ever tried telling somebody in a video game online that you can get an awesome hack by pressing Alt + F4 (the Windows shortcut to quit a program, i.e., the game)? Yeah, this is the same thing.
However, the person who made this didn't actually know the Linux command to format the filesystem, so they Googled it, found a wrong answer, and used it. Fsck is the Linux utility to check a filesystem - filesystemcheck. The -f flag is the Linux flag to "force" the utility to run, and -y is the Linux flag to automatically answer "yes" to any prompts; i.e., in theory, the person thought that the utility would have said "Are you SURE you want to do this," and specifying the -y flag would automatically reply yes before you realized what you were doing. /dev/hdb1 is an example of how Linux addresses hard drives, but as others have pointed out, it's unlikely that Watson's operating system would be housed on that partition. The Linux equivalent of Windows' "C" drive (which is almost always the primary partition of the first attached drive) is /dev/hda1. The number at the end of the designation is the logical partition of the drive. It's additionally unlikely that a supercomputer like Watson would have only one logical partition, as it is a cluster.
"Sudo rm -rf /" would be the proper command to format the root file system in Linux. Sudo is the Linux command to perform a command as a SuperUser (the Linux equivalent of an Admin), rm is the name of the delete utility ("remove") and the -rf flags are "recursive," and "force," respectively. "/" is how the operating system is addressed in Linux; it is the root of the entire OS partition. Specifying the recursive flag means that you will delete every single file on the OS partition, and because you performed the command as a superuser AND forced it to run, the utility will run until it deletes enough system files for the OS to no longer be operable. The Windows equivalent of the command would be "deltree c:\ /y," where deltree is "delete tree," "c:" is almost always the root of the OS partition, and "/y" automatically responds "yes" to any questions, i.e., "You should really say No right now, but say yes if you're a sadomasochist or an idiot."
Edit: Listen to the guys below me. I often colloquially refer to a format as a total delete of files (if you've ever installed Windows, this is all the "Quick Format" option does). Rm -rf / is the Linux equivalent of a Windows "Quick Format;" which is to say, it's not actually a format at all. Mkfs (Make Filesystem) is the correct Linux utility to totally format a hard drive / partition.
48
u/darkshine Feb 22 '11
Correct me if I am wrong, but isn't the proper reformat command mkfs /dev/hda1?
5
u/Phrodo_00 Feb 22 '11
yeah, if you want to use ext2 (most likely, you don't) you can use mkfs.format or mkfs -t format. You could also directly use the utilities of each format which have varied names (mkreiserfs, mke2fs, etc...)
22
u/captainAwesomePants Feb 22 '11
Journals are just diaries, and diaries are for girls. ext2 all the way!
25
u/RiotingPacifist Feb 22 '11
rm wouldn't do a real format for that you need mkfs.
e.g
yes | mkfs -T ext2 $(mount | grep "/ " | cut -d" " -f1)→ More replies (1)9
u/quackdamnyou Feb 22 '11
"Sudo rm -rf /" would be the proper command to format the root file system in Linux.
Actually, that would just delete all the files. I think "formatting" implies deleting everything including the filesystem metadata, and also making the drive ready to use. The command on Linux would be "mkfs", but I don't actually know if it will work if there's an existing filesystem, so you might need to use "fdisk" to re-create the partition.
→ More replies (1)→ More replies (18)4
u/CatullusSixteen Feb 22 '11
I like that. Your use of "sadomasochist" there implies that you would both enjoy the pain that comes with clearing your computer of files (masochist) and derive pleasure from wrecking your computer's shit (sadist).
→ More replies (1)5
2
u/patman21 Feb 22 '11
The joke is that Watson was the only one that got it right, thus the system failure.
30
u/Quazifuji Feb 21 '11
The joke is supposed to be that Watson puts in the command to reformat his hard drive as an answer, and then reformats his hard-drive as a result and thus cannot give an answer, although as others have pointed out the command would not actually reformat the hard drive.
7
0
107
u/bluntinstrument Feb 21 '11
I laughed my ass off once I got it. Then I got all sad because I realized that I knew it was wrong.
486
u/nonesuchplace Feb 21 '11
The joke is that Watson was the only one that got it right, thus the system failure.
18
69
u/NotMarkus Feb 21 '11
You, sir, are a goddamn genius.
34
8
u/aywwts4 Feb 22 '11
Ken Jennings got it wrong, had he gotten it correct he would have formatted himself, oh right, did I forget to mention Ken Jennings is an android from the future sent by Skynet, built for winning Jeopardy plausibly as seed money to set their robot plan in motion, However Skynet programmed Ken to plausibly beat humans, Skynet programmed flaws intentionally so as to not arouse suspicion, Skynet never expected Watson. The coming war will not be between Man and Machine, oh no, that war is already over, The battle between Skynet and Watson will rage, with humans just as pawns and bloodied set pieces in a war beyond our comprehension.
3
u/lichens Feb 22 '11
That would actually make a decent movie/book premise. 100 million box office. Easy.
3
2
u/GaryWinston Feb 22 '11
Hardly though. They could have still written the correct answer along with Watson. It's not mutually exclusive.
1
u/MrWoohoo Feb 22 '11
It would have been funny if it zeroed out his score too... perhaps not accurate, but funny.
→ More replies (7)1
14
31
u/subterraneus Feb 21 '11
What is sudo mke2fs /dev/sd*
1
Feb 21 '11
or mkfs.reiserfs or mkfs.______, etc. Hell, if the drive is the same size as another recently formatted drive, you could use more obscure methods like dd.
2
u/Dennovin Feb 22 '11
mkfs.reiserfs
As a bonus, Reiser has a similar effect on humans as wiping the hard drive on a machine!
1
15
15
51
Feb 21 '11
TIL Linux programmers are as bad as Trekkies when it comes to humor about their area of knowledge.
58
5
u/Cptn_Janeway Feb 22 '11
You take that back!
7
1
2
1
Feb 22 '11
There is nothing about programming at all in this picture, which makes me prove your point even more I suppose.
→ More replies (1)1
u/BrowsOfSteel Feb 22 '11
It’s a crappy joke because if you’re knowledgeable enough to understand it you’re probably knowledgeable enough to see that it’s wrong.
169
u/why_do_americans Feb 21 '11
downvote for ruining a good joke with your linux ignorance
126
Feb 22 '11
Actually Watson got it right, and the other 2 got it wrong. That is the joke.
31
u/NotMarkus Feb 22 '11
To be fair, I doubt that was actually the intent of the joke-teller (see: this comment), but it works.
→ More replies (3)2
13
Feb 21 '11
I think using technicalities to lower the level of amusement of a statement is hilarious, personally
11
10
u/jptman Feb 22 '11
Even ignoring what the command actually does, that's not how it works . It's not SQL injection or something where data turns into code.
Disclaimer: While watching Star Wars, I complained about laser blasts and explosions making sounds in space.
1
u/DirtyHerring Feb 22 '11
If Watson runs on an early version of Android, where every text is also executed in a root shell, it might work.
Disclaimer: I know. Watson runs on SUSE, and it would still need to type his answers to make this work.
5
Feb 22 '11
The command would fail no matter what because prefixing it with "What is" at the shell prompt wouldn't do shit.
1
1
u/BrowsOfSteel Feb 22 '11
Not to mention that Watson isn’t going to run his answers as commands, anyway.
13
Feb 22 '11
CTRL-F bobby tables
find nothing
be surprised
5
u/rampantdissonance Feb 22 '11
I kinda wondered if it wasn't too obvious of a joke to make.
Anyway, here's a link for the lazy.
4
4
u/muahdib Feb 22 '11 edited Feb 22 '11
As far as I know there is no command to format a hard drive (and fsck definitely does not format a drive, neither a partition).
I assume the command you were looking for was mkfs, which formats a partition, but that is not particularly for hard drives, as no formatting command is, it can be a USB stick or a memory card as well. The command you gave, does not even have those parameters when checking a file system.
OK you can of course use dd, like dd if=/dev/zero of=/dev/sda if you just want to erase the drive.
6
Feb 22 '11
I was expecting dd if=/dev/zero of=/dev/sda
I was disappointed
5
Feb 22 '11
If I were a judge, I wouldn't accept that. "Format" I think properly means writing a file system to the disk, not just wiping it.
1
1
u/jetpacktuxedo Feb 22 '11
But I am pretty sure that you would have to unmount the file system to format it. You can't do anything without a file system mounted. Therefore, this could never happen.
→ More replies (8)
3
3
7
u/LinkBalls Feb 22 '11
Can everyone here stop being such an elitist? The guy who made it obviously didn't know what he was doing, but it was still a well intentioned decent joke.
9
u/Dubbys Feb 21 '11
I'm gonna upvote and pretend like I actually understand this.
UpVoted, Very funny OP!
25
9
Feb 21 '11
Watson outputs a command that formats its own hard drive
→ More replies (1)15
u/headphonehalo Feb 21 '11
Except that the command doesn't actually do that. So pretending is necessary.
2
3
Feb 21 '11
Watson begins to write the answer except the answer is a code for clearing the information off a given hard drive. So basically a gun to the head.
2
2
u/rjcarr Feb 22 '11
By not answering Watson still wins because the two humans clearly got it wrong. Who's smart now?
2
2
2
Feb 22 '11
jeez you guys take this stuff so seriously. who cares if the command isn't right - the narrative the pictures create is hilarious, and it's well done.
2
u/CapnHat Feb 22 '11
Guys, you don't even need sudo. Sudo is just something invented by the man to take your power away from you and force you to seek validation for anything big you want to do.
Seriously though, not all systems come with an automatically setup sudo, you have to actually make your own sudoers file if you really wanted sudo in those systems.
1
2
2
2
2
2
2
2
2
4
u/stox Feb 22 '11
Little known Unix trivia, fsck was originally a script name fuck. The name was later changed for obvious reasons.
4
Feb 22 '11
Highly dubious.
3
u/i-hate-digg Feb 22 '11
See this: http://groups.google.com/group/alt.sysadmin.recovery/msg/ac0377d78f8f3fe9?hl=en&pli=1
Of course, it's possible Dennis Ritchie just pulled that out of his ass. Officially, fsck stands for "File System ChecK"
2
3
u/dbsmoker Feb 22 '11
That's it, I'm unsubscribing from this subreddit.
1
Feb 22 '11
you're unsubscribing from /funny? Doubt it.
1
u/dbsmoker Feb 24 '11
Yeah, I did it. Just can't believe the mass amounts of unfunny posts on there lately. I still see some of it when I'm browsing "all reddits" via Alien Blue, but after clicking on so many non-funny links, I just figured I'd save myself some time and frustration. So there, I did it.
2
2
1
u/QuestionSleep Feb 21 '11
When I initially looked at this I took it as Watson refusing to output an answer because it knew that it would format it's hard drive in doing so.
1
1
1
1
1
u/Hypersapien Feb 22 '11
Someone at the network would have panicked when they saw "fsck" on the screen.
1
1
1
1
u/The_Free_Man Feb 22 '11
Watson doesn’t rely on data stored on hard drives because they are too slow to access.
Nice try.
1
1
1
1
1
u/elmariachi304 Feb 22 '11
Watson's too much of a proper gentleman to not properly sanitize his data inputs.
1
1
1
u/MellonWedge Feb 22 '11
Wouldn't all or most of the data watson is using be in his 14TB of RAM? I don't think watson really has time to use an HDD after a question is asked.
1
1
1
1
1
1
1
1
1
u/Fangsinmybeard Feb 22 '11
Replaces the warm boot button from those long years ago, back in the eighties. One action replaced by a 16 bit command line.
1
1
1
1
1
1
u/suprsolutions Feb 22 '11
Well, looks like they're all wrong... What is Shotgun?
"I, for one, welcome our robot overlords."
1
1
u/quantised Feb 22 '11
just want to know, what the f*ck was Jesus doing without saving these ppl....?! wait a min, is he ok?
1
1
1
1
u/bicyclemom Feb 22 '11
My problem with the cartoon is...
Jennings would get this. Rutter would definitely not.
Jennings is a geek who probably would actually recognize fsck, even recognize it as being wrong. Rutter would have no clue. He's a slacker, professional game show contestant.
Jennings would be a cool AMA for reddit. Rutter, not so much.
1
1
u/Ghetto_Scientist Feb 22 '11
Shit, son. Trying to format a linux drive using fsck without first running fdisk and mkfs is like my uncle Leroy.
It doesn't work.
1
u/rocky_whoof Feb 22 '11
What is funny, is that the op is a human with ample amount of time and an access to a db much bigger than Watson's and he still managed to get it wrong...
1
u/battery_go Feb 22 '11
I can picture how this comment was first posted on a site where it was more likely to appease a general audience, then OP tried posting it here. I guess he didn't think that Reddit was that tech-savvy.
1
1
Feb 22 '11
I am sorry, but isn't Watson a cluster of 100 IBM System P p750s? Shouldn't it be running in AIX?
1
u/pridkett Feb 22 '11
Am I the only person who looked at this and thought "Wow, axis757 (or whoever made the image) clearly doesn't know what they're doing. If they did, they'd have root on /dev/sda instead of /dev/sdb. The people who use /dev/sdb usually retreat back to windows on their primary disk."
Watson, FWIW, can't even run windows. Although, it could run AIX.
1
1
1
0
0
0
Feb 22 '11
Better one:
This command deletes everything on the hard disk at its root:
What is cd /dev/sda1 sudo rm -rf *
1
0
1.3k
u/CommentStatistics Feb 22 '11 edited Feb 22 '11
I've gone through most of comments that have been posted on this thread so far, and summarized and grouped the comments into the following table, for your convenience. This should also allow you to easily identify trends of commonly-stated comments. Enjoy.
Updated: 2/21/2011 8:18:00 PM EST (GMT -5:00)