15 Basic ‘ls’ Command Examples in Linux

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

Ravi Saive

Simple Word a Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux.

Your name can also be listed here. Work as a Paid freelancer/writer at TecMint.

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

21 Responses

  1. star says:

    Hi I have a folders A and B and both were created on same day say day 1.

    On next day 2 day, I create another folder C.

    Now I make a sub folder “D” in A on day 5 and work on it creating new files for next 4 days.

    Now after day 9, when I do ls -lrt, I should expect A, C, B based on modifications time.

    I get the order C, B, A

    I don’t get folder A ( inside which the changes in subfolder D were made till day 9) but folder but folder C, B, A .

    Is there nay command that detects changes to sub folders and list it accordingly like ls -lrt

  2. tricky says:

    Great job. I find this very resourceful. Thanks

  3. - Younis - says:

    How to list directories from oldest to newest in /etc for example?

  4. krishna says:

    sir

    i have question about links?

    i wan to create link for one file with separate location

    but my intension is the both( original or link file) have same i node number?

    is it posible ? its posible which link i have to create that file?

    can you please explain sir.

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 62000+ Linux Users
  1. 46679
  2. 2055
  3. 10101

Enter your email to get latest Linux Howto's