Linux Directory Structure and Important Files Paths Explained

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

47 Responses

  1. devraj says:

    i have to install apache tomcat and jdk in linux server. So, can tell be where to install the software?
    Also tell where to keep our developed application?

  2. peter says:

    Can anyone share a higher quality picture of Linux Directory Structure above?

  3. Lee says:

    Thanks for this little lesson.
    Great stuff.

  4. Taiwo says:

    How can install Apache web server, php and SQL on my Linux router which has built-in storage and SD card support?

  5. Bhabani says:

    The Post is really amazing and very helpful, however need some guidance on understanding the difference in between /var/log/lastlog and /var/log/dmesg
    Thank you.

    • Ravi Saive says:


      The /var/log/lastlog file is used to keep succesful login information to the host, whereas /var/log/dmesg stores all Kernel ring buffers and system changes in real time.

  6. Satish says:

    Dear sir
    Thanks for such valuable information
    Satish Borkar

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?