3 ms·
That's pretty awesome! (For the sceptics, it indeed does no harm and can be interrupted at will)
by pluies_public 14y ago
That's pretty awesome!
(For the sceptics, it indeed does no harm and can be interrupted at will)
- paul_f 14y agoHaha, good one. Here's another harmless command you can try. It's fun! sudo rm -rf /
- crayola 14y agoI wouldn't joke with that.. Someone may actually try and lose a lot of time and data. Yes, most HN readers will get your 'joke', but possibly not all.
- nivla 14y agoIts atleast disabled by default in latest versions of Ubuntu and other distros, but regardless paul_f shouldn't have posted it without any disclaimer.
- Ao7bei3s 14y agoIt'd teach them not to run random commands they found on the internet, what rm does, and to make backups. Three valueable lessons. That is, if it would actually work: modern rm implementations have a special case for /. Read the manpage and/or try this instead: rm -rf --no-preserve-root /
- charliesome 14y agoIf you blindly run code you find on the Internet without understanding what it does, you deserve all you get.
- courtewing 14y agoIn case anyone didn't know, this command would recursively remove all files and directories on the entire filesystem.
- Myrmornis 14y ago> and can be interrupted at will Unless you're running tmux, obviously...