51 Useful Lesser Known Commands for Linux Users

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...

42 Responses

  1. justahint says:

    Python -m SimpleHTTPServer is deprecated and python2 specific

    python is normally linked to python3, so you need.

    # python -m http.server  
    # python3 -m http.server
  2. Derek Jenkins says:

    On your `nc -ZV` example, do you rather mean `nc -z` (or possibly `nc -zv`)?

    And for Pv — are you referring to pv (aka pipe viewer) or literally Pv?

  3. Derek Jenkins says:

    On bash 4.1.2, I’m not seeing that a space before a bash command omits that command from history. Can you please elaborate on your explanation?

    • Martin Naranjo says:

      Include this line:

      export HISTCONTROL=ignorespace;

      In /etc/profile or write it directly at the command prompt

      If the variable HISTCONTROL includes value “ignorespace“, lines which begin with a space character are not saved in the history list.

  4. Geoff says:

    25. du -h –max-depth=1

    25. du -h –max-depth=1 Note that -m is not the same as –m. Use two of hex 2D.

  5. Jeff says:

    Regarding the first command, you can try “sudo!!” a thousand times, it does not work. I looked it up, and it’s “sudo !!” (with a space).

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.