What Linux commands should I avoid?


These commands I list here should "NEVER" use you out, not at home and definitely not at work:

First out is the command that erases everything, and I mean everything.

1. rm -rf /

The core program, rm is very practical. This allows you to remove even the most stubborn files on your system. But you get big issues if you combine rm with these two flags: -r, which forces a recursive removal through all subdirectories.

The flag -f, forcing files with "READ ONLY" rights without confirmation. If you run this command from the root directory, all data comes across your entire device.

NOTE! IF You accidentally manage to run this command (CTRL + C) immediately!

BASH Fork Bomb:

Bash is a command prompt that is part of the GNU project. It is very common in Unix-like operating systems based on free software, such as GNU / Linux and FreeBSD.

2. :(){ :|: & };:

If you run this command, BASH will open new terminal windows until all system resources expire and the system finally crashes.

Writing data to a device:

3. dd if=/dev/zero of=/dev/hda.

This command / dev / zero has real applications. For example, you can use it to clear unused spaces in a partition with zeros. This causes a picture of the partition to be compressed much less for data transfer or archiving.

If you want to overwrite files or fill unused spaces with zeros, use one of the following programs instead:

  • BleachBit
  • Data Removal: Darik's Boot and Nuke - DBAN
  • GCleaner (under development)
  • Stacer
  • Sweeper
Library categories: 

Games For Linux

Windows has always been the preferred platform for gaming, but after STEAM's interest in Linux more game developers are making their games natively available for Linux.


All information on this website is published in good faith and for general educational purposes and for use in safe testing environments only. While linuxexperten.com strives to make the information on this site as accurate as possible, linuxexperten.com does not warrant its completeness, reliability and accuracy.

We are not responsible for any losses or damages associated with the use of our website. While we strive to provide only links to useful websites, we have no control over the content of these sites and links to other sites do not constitute a recommendation for all content contained on these websites.


Site Information

This is a professional review site that receives compensation from the companies whose products reviewed. Each service or product are thoroughly tested and given high marks if considered to be the very best. Independently owned and the opinions expressed here are no one elses.


Limited Time Offers

Coming soon...