Moderators: Moderators General, Magistrates, Prelates
Sitnaltax wrote:For the uninitiated: "sudo" is the Unix-style command for "execute this command as the superuser."
Andy wrote:One of my friends has the habit of putting sudo in front of any command that won't work. Recently it caused him to accidentally run the "delete everything from every drive" command. If only the command made sandwiches.
Andy wrote:One of my friends has the habit of putting sudo in front of any command that won't work.
chmod 755 floop.sh
chmod +x floop.sh
posiduck wrote:Sitnaltax wrote:For the uninitiated: "sudo" is the Unix-style command for "execute this command as the superuser."
For the even less initiated:
It's like saying "do this as though the administrator account says to"
Andy wrote:One of my friends has the habit of putting sudo in front of any command that won't work. Recently it caused him to accidentally run the "delete everything from every drive" command. If only the command made sandwiches.
rrenaud wrote:For more humor of this type, check out unix shell jokes.
Andy wrote:One of my friends has the habit of putting sudo in front of any command that won't work. .
Andy wrote:(*) Yes, I can't spell this word. Typically I google for the word to fix it up. But now that that has happened easily over 5 times, I don't think I will ever learn how. So, now I'm trying to change the spelling of the word, to something I can manage... and now google won't think less of me for misspelling a word lots of times.
Squeak wrote:Using google as a spell checker, GENIUS! Had never thought of it before but now I will be able to spell, except some of my mispellings are so obscure not even google can save me!
Andy wrote:Squeak wrote:Using google as a spell checker, GENIUS! Had never thought of it before but now I will be able to spell, except some of my mispellings are so obscure not even google can save me!
It is cool because it uses context too. Searching for "slashdot affect" will suggest "slashdot effect".
rrenaud wrote:For more humor of this type, check out unix shell jokes.
a1studmuffin wrote:This is quite embarassing, but I originally laughed my ass off at this comic for the wrong reason.
I thought "sudo" was referring to the sudden invasion of "sudoku" as the new hip trendy thing for people to do. I attributed the person's instant change of mind about making the sandwich to the fact that the first person added "sudo" to the front of the sentence, instantly making it a hip and trendy thing to do and that everyone is making sandwiches for me, why shouldn't you?
Corvin wrote:a1studmuffin wrote:This is quite embarassing, but I originally laughed my ass off at this comic for the wrong reason.
I thought "sudo" was referring to the sudden invasion of "sudoku" as the new hip trendy thing for people to do. I attributed the person's instant change of mind about making the sandwich to the fact that the first person added "sudo" to the front of the sentence, instantly making it a hip and trendy thing to do and that everyone is making sandwiches for me, why shouldn't you?
ditto, my friend. i thought this was some off-the-wall sudoku reference.
Corvin
%:; @touch .
whoami := $(shell whoami)
ifeq (${whoami}, root)
me:; @echo okay.
else
me:; @echo what? make it yourself.
endif$ make me a sandwich
$ sudo make me a sandwich matrixhax0r wrote:So um... put this in a file called "Makefile":
- Code: Select all
%:; @touch .
whoami := $(shell whoami)
ifeq (${whoami}, root)
me:; @echo okay.
else
me:; @echo what? make it yourself.
endif
And in the same folder try:
- Code: Select all
$ make me a sandwich
$ sudo make me a sandwich
I'm sure someone can improve on this?
*smacks you on the head*Kin wrote:I'm passed an enlightened journey...all comics now make sense.
Success!
Wayne Weiten wrote:Sexual intercourse is really a pretty simple activity. Most animals execute the act with a minimum of difficulty. However, humans manage to make sexual relations terribly complicated
posiduck wrote:Andy wrote:One of my friends has the habit of putting sudo in front of any command that won't work. Recently it caused him to accidentally run the "delete everything from every drive" command. If only the command made sandwiches.
the worst time for me was then I meant to type
sudo rm -rf ~/foo
but instead I typed
sudo rm -rf ~/
and there went my home directory. Much of it anyways, I managed to cancel before everything had been destroyed
Iluvatar wrote:Love: Gimme the frickin' API.
yy2bggggs, on Fischer Random chess wrote:Hmmm.... I wonder how how a hypermodern approach would work
Return to Individual XKCD Comic Threads
Users browsing this forum: Angelastic, charlie_grumbles, ChronosDragon, edfel, ElWanderer, ggh, JimsMaher, MobTeeseboose, mscha, Opiboble, RobIrr, scienceguy8, ucim, Ylbbin72 and 40 guests