Linux filesystem directory structure

The filesystem structure is somewhat different from that of Windows.
Linux doesn’t have a physical drive (such as the C: drive) at the base of the
filesystem but uses a logical filesystem instead.

The root (/) of the filesystem is at the top of the tree, and the following
are the most important subdirectories to know

Linux filesystem directory


/root The home directory of the all-powerful root user


/etc Generally contains the Linux configuration files—files that control
when and how programs startup


/home The user’s home directory


/mnt Where other filesystems are attached or mounted to the filesystem


/media Where CDs and USB devices are usually attached or mounted to
the filesystem


/bin Where application binaries (the equivalent of executables in
Microsoft Windows) reside


/lib Where you’ll find libraries (shared programs that are similar to
Windows DLLs)


These include terminal devices, USB, or any device attached to the system.


Optional application software packages. and other package installed


Virtual filesystem providing process and kernel information as files. In Linux, corresponds to a process mount. Generally automatically generated and populated by the system, on the fly. Linux filesystem directory

How to install Kali Linux on AWS see here

About Rahul Gehlaut

Cyber Security Researcher, CTF Player. Tech Blog Writer.

View all posts by Rahul Gehlaut →