10 Lesser Known Commands for Linux – Part 3

Download Your Free eBooks NOW - 10 Free Linux eBooks for Administrators

Avishek Kumar

I am a major in computer science, love to research nix. I love to write codes and scripts, review distros, experiment Foss Technologies, write technical articles, Hack, of course Ethically. I am working as System Administrator (nix) for a NGO.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

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

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Join Over 70000+ Linux Users
  1. 48590
  2. 2375
  3. 13200
Enter your email to get latest Linux Howto's