Written by: | ![]() Alexio |
Score: 14 votes: 25 Format: Article |
Linux Filesystem Explained
The Root Filesystem
/ : Root directory
/bin : Essential user command binaries (for use by all users)
/boot : Static files of the bootloader
/dev : Device files
/etc : Host-specific system configuration
/etc/opt : Configuration files for /opt
/etc/X11 : Configuration for the X Window System (optional)
/etc/sgml : Configuration files for SGML (optional)
/etc/xml : Configuration files for XML (optional)
/home : User home directories (optional)
/lib: Essential shared libraries and kernel modules
/lib32 and /lib64 : 32/64-bit libraries (architecture dependent) - alternate format essential shared libraries (optional)
/proc : Kernel and process information virtual filesystem
The /var Hierarchy
/var/account : Process accounting logs (optional)
/var/cache : Application cache data
/var/cache/fonts : Locally-generated fonts (optional)
/var/cache/man: Locally-formatted manual pages (optional)
/var/crash : System crash dumps (optional)
/var/games : Variable game data (optional)
/var/lib : Variable state information
/var/lib/
/var/lib/hwclock : State directory for hardware clock (optional)
/var/lib/misc : Miscellaneous variable data
/var/lock : Lock files
/var/log : Log files and directories
/var/mail : User mailbox files (optional)
/var/opt : Variable data for /opt
/var/run : Run-time variable data
/var/spool : Application spool data
/var/spool/cron : cron and at jobs
/var/spool/lpd : Line-printer daemon print queues (optional)
/var/spool/rwho : Rwhod files (optional)
/var/tmp : Temporary files preserved between system reboots
/var/yp : Network Information Service (NIS) database files (optional)
Tags: Linux, FHS, Filesystem Hierarchy Standard Group
Created: 8 years ago.
Last edited: 8 years ago.
Reviewed: 7 years ago.
Comments | |||
3 years ago |
![]() Alexio |
Download the PDF for a detailed presentation... The link is at the end ;) | |
3 years ago |
![]() MagicMint |
This is not Linux Filesystem “Explained”, but only Linux Filesystem “Explained”… | |
6 years ago |
![]() pgmer6809 |
This 'tutorial' could do with an introduction explaining the idea behind a filesystem, the necessity of a mount cmd, and a very brief intro to filesystem types. This article tells the reader what the various directories are used for, but does not a) say what a filesystem is, b) say how to use one, c) give any hint as to which ones are updated when a user does something like add a pkg, d) say which directories users will most often be modifying. For example under linux mint, how much use is made of the /opt directory? |
Other tutorials from Alexio
- Ubuntu Pocket Guide and Reference
- The Linux Documentation Project
- The GNOME 2.32 Desktop User Guide
- How to make a dual-boot into Windows put the "pagefile.sys" onto the linux-swap partition
- GNU/Linux Desktop Survival Guide
- Ubuntu Manual
- Keyboard Shortcuts for the GNOME Desktop
- Linux From Scratch
- Keyboard Shortcuts for the KDE Desktop
- Download entire websites easy
- How-to index on the Linux Mint forum
- Search Launchpad PPAs and add them to your software repositories list
- Ubuntu Apps - application directory, tips, and customization guide
- Linux Terminal Command Reference
- How to get and install Linux games - Full tutorial
- OpenOffice.org and LibreOffice Keyboard Shortcuts
- Install and Optimize Linux Mint on a Solid State Drive
- Run Linux Mint in Windows without any configuration or installation
- A quick way to make Linux Mint look like Mac OS X
- Install LibreOffice 3.3 on Linux Mint 9 and 10
- Install Firefox 9 Final on Linux Mint 9 and 10
- Reset forgotten/lost main user password in Linux Mint
- How To Save Downloaded Files to Selected Folders based on Filters
- Assign Custom Shortcut Keys in Linux Mint
- Install Nautilus Elementary on Linux Mint 10
- Install fonts on Linux Mint using Terminal commands
- How to manage the recent notifications for the GNOME desktop
- How to add videos to the Linux Mint Community Videos website
- How to fix broken packages using the Command Line
- Upgrade to Firefox 29 Beta and test Firefox 31 Alpha on Linux Mint
- How to setup the fastest server for updates using Synaptic
- Rotate Your Wallpapers with Webilder in Linux Mint 11
- Converting Audio Files On Linux Mint
- Popper - the e-mail notifier and indicator
- Upgrade Thunderbird to version 12 Beta or to version 15 Alpha on Linux Mint
- How to easily download files from more than 40 websites, including Linux Mint videos
- How to enable unattended software updates on Linux Mint
- MultiSystem – Create a MultiBoot USB from Linux Mint