10 Lesser Known Commands for Linux – Part 3

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. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  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...

16 Responses

  1. Vijay says:

    gpasswd – to remove user from group

  2. Rubberman says:

    Got set of articles. After 30+ years of *nix experience, I learned quite a bit, and these articles are going into my archives of “useful” stuff! :-)

    Thanks for your efforts. I see a great career for you in this domain.

    P.S. I am a senior systems engineer for a tier-one tech company and help handle performance engineering for thousands of Linux servers world-wide, supporting 150M+ users.

  3. ZIADI Mohamed-Ali says:

    Problem :
    # vgscan; pvscan; lvscan
    # ^scan^display

    gives :
    #vgscan; pvscan; lvdisplay

    Solution: full substitution with gs :
    # vgscan; pvscan; lvscan
    # !:gs/scan/display

    gives:

    #vgdisplay; pvdisplay; lvdisplay

    • Avishek Kumar says:

      @ ZIADI Mohamed-Ali, True ^foo^bar works with single substitution only, for multiple substitution, wait for our next article.

  4. Kathy says:

    Great column. I just found your website last week and it is very useful. Thank you for sharing.

  5. PSV says:

    My favourite:
    du -ch –max-depth=1 * | sort -rh

  6. Josh says:

    Awesome pro tips. I completely forgot about the “factor” command, I could have used that on Monday! “the more you know”

  7. j. says:

    For the > command, you might say “truncate” instead of flush. I can’t be the only one here thinking flush as in write all changes to disk from cache.

  8. toma says:

    the command “fc” from bash is also quite nice

Got something to say? Join the discussion.

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

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?