Author Topic: Commands You Should Never Run on Linux  (Read 331 times)

Offline The Chief

  • Hero Member
  • *****
  • Posts: 2339
Commands You Should Never Run on Linux
« on: February 02, 2013, 02:11:46 PM »
Quote
Linux’s terminal commands are powerful, and Linux won’t ask you for confirmation if you run a command that won’t break your system. It’s not uncommon to see trolls online recommending new Linux users run these commands as a joke.

Learning the commands you shouldn’t run can help protect you from trolls while increasing your understanding of how Linux works. This isn’t an exhaustive guide, and the commands here can be remixed in a variety of ways.


http://www.howtogeek.com/125157/8-deadly-commands-you-should-never-run-on-linux/

Retired Senior Chief, Retired Software Engineer, Active GrandPa

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3794
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Commands You Should Never Run on Linux
« Reply #1 on: February 02, 2013, 02:36:12 PM »
Nice find... Thanks for sharing

Daniel

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2468
Re: Commands You Should Never Run on Linux
« Reply #2 on: February 04, 2013, 07:46:50 AM »
Thanks for sharing too. :)
Appreciated!

I tried the "Fork Bomb".
It works.

Now I'll try the command "Deletes Everything".
« Last Edit: February 04, 2013, 07:48:27 AM by Vorteggs »

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15513
  • ┌∩┐(◕_◕)┌∩┐
PCLinuxOS 32bit KDE 4.10.4; kernel-3.4.11-pclos1.bfs & 64bit 3.4.38bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6470
  • I'm going South
Re: Commands You Should Never Run on Linux
« Reply #4 on: February 04, 2013, 10:15:15 AM »
Quote
Linux’s terminal commands are powerful, and Linux won’t ask you for confirmation if you run a command that won’t break your system. It’s not uncommon to see trolls online recommending new Linux users run these commands as a joke.

Learning the commands you shouldn’t run can help protect you from trolls while increasing your understanding of how Linux works. This isn’t an exhaustive guide, and the commands here can be remixed in a variety of ways.


http://www.howtogeek.com/125157/8-deadly-commands-you-should-never-run-on-linux/


Links to the same article were posted both by menotu and by OldGuy in September last year. But it was a BS article then and it still is.

Although it would be logical if it did, rm -rf / does not remove everything in the root directory; bash won't let it. And AS was even brave enough to test it a year ago: http://www.pclinuxos.com/forum/index.php/topic,93436.msg866905.html#msg866905.

And mv ~ /dev/null does not move your home folder into /dev/null. I've tested that myself: the system first asked me whether I really wanted to overwrite /dev/null, and when I answered "yes" it simply informed me that

Quote
mv: cannot overwrite non-directory `/dev/null' with directory `~'


Similar things could be said about several other points in the article. Of course we are talking about dangerous commands, but not always that dangerous.
« Last Edit: February 04, 2013, 10:19:42 AM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D