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

What containers and unikernels can learn from Arduino and Raspberry Pi

There is a lot of interesting buzz around specialized container hosts, rump kernels, and unikernels because they hold the potential to revolutionize certain workloads (embedded, cloud, etc.). Keep your eye on this exciting, fast moving space, but cautiously. Currently, unikernels seem quite similar to building printed circuits. They require a lot of upfront investment to utilize and are very specialized, providing benefits for certain workloads. In the meantime containers are quite interesting even for conventional workloads and don't require as much investment. Typically an operations team should be able to port an application to containers, whereas it takes real re-engineering to port an application to unikernels and the industry is still not quite sure what workloads can be ported to unikernels. Here's to an exciting future of containers, rump kernels, and unikernels! Read more

5 open source skills in high demand

The open source job market is booming and companies need talent to drive their business. Here are the five most in-demand skills for open source IT professionals. Read more

Red Hat and Fedora

Kernel Space: Linux, Graphics