Language Selection

English French German Italian Portuguese Spanish

8 Deadly Commands You Should Never Run on Linux

Filed under
Linux

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.

rm -rf / – Deletes Everything!

The command rm -rf / deletes everything it possible can, including files on your hard drive and files on connected removable media devics. This command is more understandable if it’s broken down:

rm – Remove the following files.

-rf – Run rm recursively (delete all files and folders inside the specified folder) and force-remove all files without prompting you.

/ – Tells rm to start at the root directory, which contains all the files on your computer.

rest here




More in Tux Machines

From Microsoft to LibreOffice: How Italy's military is starting its march to open source

In the past few years a growing number of Italian public bodies have chosen to ditch proprietary software for open source. But most of these decisions have been taken at the local level, while in general the country's central government has seemed more reluctant to follow the open-source path. Read more

Can you imagine a world without open source?

I worked as a Linux kernel developer in the areas of scheduler and power management. It was fascinating to gain a deeper understanding and contribute to development in these areas. After a while, I felt the need to gain more breadth in my understanding of computer systems. A holistic view would not only help me better contribute to Linux, but would also enable me to explore other domains in a computer system. Towards this end, I chose to pursue graduate studies in the Electrical and Computer Engineering department of Carnegie Mellon University, which offers a wide range of courses in computer systems and is carrying out cutting edge research in this field too. Read more

Hadoop Event

Red Hat touts Linux experience as container differentiator

With containers built on Linux, Red Hat believes vendors touting products in this space can do so effectively only when they have the ability to fully support a commercial Linux distribution. Read more