Sponsored by Dragon Age: Origins
See the new YouTube feature trailer for Dragon Age: Origins view!
youtube.com/DragonAge - EA presents BioWare's new dark fantasy epic Dragon Age: Origins. '9/10' from Game Informer.
79 Comments
- crabbypants, on 10/10/2007, -2/+53http://xkcd.com/149/
- trogdoor, on 10/10/2007, -8/+52Don't even jokingly post "sudo rm -rf /" in a public Forum unless you can really expect the people reading it to be competent enough to either know what it means or not stupid enough to run random commands as root.... In other words don't post it on Digg.
- benitojuarez, on 10/10/2007, -1/+27If you're dumb enough to run an unfamiliar command line switch that you saw posted on the internet without at least googling it to make sure it does what one person says you completely deserve what you get.
- usefulidiot, on 10/10/2007, -0/+24my computer may have beat me at chess, but i won hands down at kick boxing afterwards.
- richbradshaw, on 10/10/2007, -0/+13Well yeah... Most things are obvious anyway, but i'd never run a shell script with out reading it first...
- NiX0n, on 10/10/2007, -1/+14What's wrong with 'rm -rf /'?
...
..
Oh... *****! - TheCosmicFool, on 10/10/2007, -1/+12To noobs, EVERY line is unfamiliar. people just say put this and it'll work.
After using Linux for a few years, I remember the beginnings where I pasted in commands I had no clue what they did. - freezerburn666, on 10/10/2007, -1/+11nothing works in vista.......
- aDJsavedmylife, on 10/10/2007, -1/+10When I was about 12...I edited System in OS 7 using Res Edit to say POO OS instead of MAC OS...My dad was so ***** off.
- sishgupta, on 10/10/2007, -1/+10I don't know man. The first think I learned about *nix even years before i used it is that rm -rf / deletes everything.
You'd have to be really thick to type that in. - qwuinc, on 10/10/2007, -2/+9Indeed, it should at least be coupled with the explanation what it does... basically "rm -rf /" will recurse through all files and directories deleting everything you have permission to. Combined with a successful sudo, being a root user you will have permission to delete everything. I think someone said it will stop after removing the files in /dev, but I haven't tested it myself... ;-)
Just in case someone is wondering whether to try that out to see what it does... - arbulus, on 10/10/2007, -1/+8***** off?
- richbradshaw, on 10/10/2007, -0/+7Yeah, anyone with any knowledge is going to know that is bad...
It's not as obvious why this crashes your PC though:
:(){ :|:& };:
Run that in bash - it will crash your PC, but won't destroy data etc. - LilyFoxglove, on 10/10/2007, -1/+7They do, just not in that sense.
- aDJsavedmylife, on 10/10/2007, -1/+7Im English, I guess Americans dont use that phrase...
- tradwolley, on 10/10/2007, -0/+5Sweet, now I don't need to go to the forms to be insulted for being a noob.
- nunofgs, on 10/10/2007, -0/+5I have that t-shirt!
- KennMac, on 10/10/2007, -1/+6So if you're experimenting, you're doing two things:
1) Not experimenting as root.
2) Not doing this on a machine where a screwup would be disaterous.
You guys need to lighten up. - fquednau, on 10/10/2007, -0/+5Adding insult to injury? There is no way I'd accept insults from a machine. I'd prefer a module upon which my Computer would react with extreme suffering when I have to insult it once again.
- KennMac, on 10/10/2007, -1/+6Who's logged in as root trying random commands you find on the Internet? Your concern is irrational.
- hyperair, on 10/10/2007, -1/+5Firstly, I'm an Ubuntu user, and secondly, screwing up the sudoers file is not something Ubuntu specific. Thirdly, before it allows you to save the sudoers file, it will check the sudoers file for errors, and alert you of any errors. If at that point you choose to just charge straight ahead without looking then that's your own fault. Lastly.. I don't see how that's so hard to figure out that the installation disk is used to repair. I mean take a look at Windows XP, for example. The recovery console is on the installation disk. Sure enough Linux will be different, but the main concept is that the installation disk usually contains repair utilities.
- arbulus, on 10/10/2007, -1/+5Of course it wouldn't work in Vista. This only applies to *nix systems.
- draculthemad, on 10/10/2007, -1/+5You are kidding right?
Isnt that what single mode is for?
Failing all else, you could always boot off a cd, mount the drive and fix it that way.
The idea you can lock yourself entirely out of a system where you can always yank the drive is hilarious. - arbulus, on 10/10/2007, -0/+4I hope you're joking.
If not, you should just change your preferences so you don't see stories from the Linux/Unix category. - benitojuarez, on 10/10/2007, -1/+4key word, UNFAMILIAR
- arbulus, on 10/10/2007, -0/+3No, it's not irrational. In my early days of Linux use, I got myself in a bind with a few things not knowing what I was doing, tried googling an answer, and then just input things that people said should help, even though I had no idea what it meant and had to reinstall my OS several times because of that. Of course now I know better, but I didn't then, and most new users don't. They might even run it just out of curiosity because it's there.
You just have to be careful. - thethorn, on 10/10/2007, -2/+5When I was 15 or so (31 now) I hex edited command.com in MS-DOS to insult you. Instead of "Bad command or file name.", it would say "What the ***** was that?". It was fun, but no else in my family knew how to use dos. This is probably a similar situation unless you want the machine to insult you, or show it to your friends when they come over. I guess you could do this to someone else's machine, too, if you had time.
- Hardcase, on 10/10/2007, -0/+3We've got around 700 Linux desktop machines, almost all are RHEL. Probably another 500 Suns running Solaris. And probably 3000 Windows systems.
- mooninite, on 10/10/2007, -0/+3I use Linux as my desktop at my work, too. Fedora as the distro.
Sucks to be arbulus. - Rice, on 10/10/2007, -0/+3Me too! I love it. I haven't yet found a person who knows what it means without me explaining it to them.
- SushiCW, on 10/10/2007, -0/+3Fork bomb!
- bradleyland, on 10/10/2007, -0/+2You can use darwin ports to build your own sudo and include the insults flag.
http://sudo.darwinports.com/ - inactive, on 10/10/2007, -5/+7i doubt it works in Vista either :|
- bradleyland, on 10/10/2007, -0/+2From the Wikipedia article right above your post:
"One way to prevent a fork bomb is to limit the number of processes that a single user may own. When a process tries to create another process and the owner of that process already owns more than the maximum, the creation fails. The maximum should be low enough that if all the users who might simultaneously bomb a system do, there are still enough resources left to avoid disaster. Note that an accidental fork bomb is highly unlikely to involve more than one user. There is a Linux kernel patch that enables logging of which user has started a fork bomb called grsecurity[2]." - Jams, on 10/10/2007, -0/+2Explanation: http://en.wikipedia.org/wiki/Fork_bomb
- tomgibbons, on 10/10/2007, -0/+2This is partially correct. The user has to be a valid sudoer. Run the command `visudo` as root to make changes.
- arbulus, on 10/10/2007, -0/+2No, any distro that has the sudo command installed. I think Ubuntu is the only one that I've used that installs the sudo command by default.
- arbulus, on 10/10/2007, -1/+3No problem. I guess that explains why I've never heard that.
- FunkyWitDaSysTm, on 10/10/2007, -5/+7doesn't work in os x :(
- LordJezo, on 10/10/2007, -1/+3http://digg.com/linux_unix/Let_Ubuntu_Insult_you_When_You_Screw_Up_with_Sudo
- SniperX, on 10/10/2007, -1/+3And what better way to commit it to memory? =)
- schestowitz, on 10/10/2007, -0/+1Sorry about that, guys. I posted something stupid and I regret it. Wrong place to put this type of 'humour' and I didn't realise it would reach FP.
- CoheednCambria, on 10/10/2007, -0/+1I use Ubuntu at work and another employee runs Gentoo on his hard drive but boots to a Knoppix CD because he likes it. Gentoo was on there originally.
- SniperX, on 10/10/2007, -0/+1@above commentors
I was waiting for someone to come in and start arguing about how they are, in fact, retarded. - burty89, on 10/10/2007, -0/+1I wonder why there's nothing to stop that happening? I guess it would need to be done in the kernel, but it could be something relatively simple like setting a maximum number of processes that can be spawned by any one process, and maybe a maximum level of process->child->childschild etc to prevent a tree-like approach.
The limits could be fairly high, so as to not affect any legitimate software, but still stop this from (essentially) freezing the whole machine, merely slowing it down somewhat but at least giving a chance to kill the processes. - pooptaster, on 10/10/2007, -0/+1I think Fedora does too, although the default user isn't allowed to use it.
- hackerssidekick, on 10/10/2007, -0/+1not sure what this is supposed to do? unless there is a microsoft command which takes /dev/null as a parameter?
- bradleyland, on 10/10/2007, -0/+1You can't rm the current directory. "rm: ./: Invalid argument"
- gavintlgold, on 10/10/2007, -0/+1THAT's why there's "sudo" :D
-
Show 51 - 80 of 80 discussions



What is Digg?
Browsing Digg on your phone just got easier with our enhancements to the