10 Most Dangerous Commands – You Should Never Execute on Linux

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

38 Responses

  1. chenTing says:

    Is there any teaching about hidden commands?

  2. concewa says:

    :(){:|:&} gives me “bash: syntax error near unexpected token `{:’“. Please help.

  3. payam says:

    Thanks. now I’m really curious to see these commands in action!

  4. Thwin Htoo Aung says:

    “rm -f” overrides “rm -i”, isn’t it?

  5. l3v14th4n says:

    Hmm… Thanks for the article. But KJ is right: “I doubt this is going to work, you will get an error message like: mv: target ‘/dev/null’ is not a directory or mv: cannot overwrite non-directory ‘/dev/null’ with directory ‘folder’”

    It is impossible to move folders to /dev/null. One would expect the author of a guide like this to actually have tried the commands before writing an “expert” article about it… But is that just me being overly critical??? However, files can be moved there. But these files will overwrite /dev/null-content.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.