Skip to content

Instantly share code, notes, and snippets.

@himalay
Last active April 12, 2020 15:54
Show Gist options
  • Save himalay/7b71378fdbb530e1769e315898d77b9d to your computer and use it in GitHub Desktop.
Save himalay/7b71378fdbb530e1769e315898d77b9d to your computer and use it in GitHub Desktop.

 of it.

/ "Root" Everything on the system.

/bin Essential binaries (Sometimes a link to /usr/bin).

/boot Boot loader files.

/dev Device files.

/etc System-wide configuration files.

/home Non-root user directories.

/home/your-user-name Your user directory.

/lib Essential libraries (Sometimes a link to /usr/lib).

/media Mount points for removable media (Alternatively, /run/media).

/mnt Temporarily mounted file systems.

/opt Optional application files (Standalone installers may use this).

/proc Process and kernel information files.

/root Home directory of the root user.

/run Run-time data since last boot.

/sbin Essential system binaries (Sometimes a link to /bin).

/srv Data served (vis á vis HTTP, FTP, etc.) by the system.

/sys Information about devices, drivers, and kernel features.

/tmp Temporary files. Your browser may cache web pages here.

/usr Read only user data: Applications and their libraries, mostly.

/usr/bin User application binaries.

/usr/lib User application libraries.

/usr/include Development headers.

/usr/share Non-instruction user application files.

/usr/local Third-party user applications data.

/var Files expected to change frequently, caches, logs, spools, etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment