7 Quirky ‘ls’ Command Tricks Every Linux User Should Know

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

8 Responses

  1. Arthur Pedant says:

    You forgot to mention that the setting of LC_COLLATE (and/or LC_ALL) will affect the order of sorting in the display of ls directory listings.

  2. Dennis says:

    I have one question, let’s say I created 5 files per day (together i.e. 5 days), and I want to see each day only once. How can I do that?

  3. Brian Eschner says:

    I like my tab-stops to be every 4 characters. I set that in vi, so then I added a startup command of “tabs 4” in bash. ‘ls‘ is one of the few commands that breaks, so I aliased my ‘ls‘ command to be ‘ls -T4“. Works great now, EXCEPT when I go to Full-Screen (in an Exceed XTerm window). ANY IDEA WHY?

    But if I rerun the ‘tabs’ and ‘alias’ (of ‘ls’) again, then it works, and I have NO idea why

  4. Mohan says:

    This is really good stuff. Muchas-Gracias señor!

  5. ankurkeelu says:

    Thanks for the valuable information about ls commands !! Hey can you post about the boot process or can you provide me some good link through which i can understand the boot process in linux

  6. Tomasz says:

    Very informative! Thanks!

Leave a Reply to Arthur Pedant Cancel reply

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.