Basic Understanding the Linux File System Hierarchy

Linux file system is inherited from UNIX. Knowing there directories can help you find files when you need them. I also not remember all but it is to know some of it.

DirectoryDescription
/The root directory
/binEssential commands
/bootBoot loader files, Linux kernel
/devDevice files
/etcSystem configuration files
/homeUser home directories
/libShared libraries. kernel modules
/lost+foundRecovered files (if found after a file system check)
/mediaMount point for removable media, such as DVDs and floppy disks
/mntUsual mount point for local, remote file systems, file systems that are additional to the standard, such as a DVD-ROM or another HDD
/optAdd-on software packages
/procKernel information, process control
/rootSuper user (root) home
/sbinSystem commands (mostly root only)
/sysReal-time information on devices used by the kernel
/tmpTemporary files
/usrSoftware not essential for system operation, such as application
/varVariables files relating to services that run on the system, but whose contents are expected to change regularly during normal operation
Basic Linux Directories

To read the ma page for the Linux file system hierarchy. Use below command.

  • man hier

This returns a detailed listing, with a description of each part.

.::End of post::.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s