Pages

May 04, 2008

Linux file system hierarchy - the fun easy way

I have been asked by many people to explain the file system hierarchy in Linux because they find the file system in Linux quite different from what they are used to in Windows. To put it simply, it can be visualized as a tree with its roots and all. At the top of the hierarchy is invariably the root path which is represented by '/'. All other directories are created beneath this root path. And each of the sub directories have a specific purpose. For example, '/etc' contain the configuration files, the '/opt' directory is used to install third party software, '/boot' contain the grub files and the Linux kernel and so on.

Today I came across this very beautiful image which explains the Linux file system in lucid detail at linuxconfig.org.

Fig: Linux file system hierarchy

2 comments:

Anonymous said...

My questions is why nobody puts 3rd party software in /opt? I always see people forcing it in /usr/local or somewhere in /usr.

Anonymous said...

Well, it's a nice image, but I don't know that I would call it very beautiful!

Thanks

Post a Comment

New comments are moderated
Thank you for taking time to comment on this blog. Your comments will be published once they pass moderation.