The Filesystem Hierarchy Standard (FHS) defines the directory structure and directory contents in Unix and Unix-like operating systems. It is maintained by the Linux Foundation. The latest version is 3.0, released on 3 June 2015. Currently it is only used by Linux distributions.
In the FHS all files and directories appear under the root directory /
, even if they are stored on different physical or virtual devices. Note however that some of these directories may or may not be present on a Unix system depending on whether certain subsystems, such as the X Window System, are installed.
The majority of these directories exist in all UNIX operating systems and are generally used in much the same way; however, the descriptions here are those used specifically for the FHS, and are not considered authoritative for platforms other than Linux.
Most Linux distributions follow the Filesystem Hierarchy Standard and declare it their own policy to maintain FHS compliance.GoboLinux and NixOS provide examples of intentionally non-compliant filesystem implementations.
Long ago life was clean
Sex was bad and obscene
And the rich were so mean
Stately homes for the Lords
Croquet lawns, village greens
Victoria was my queen
Victoria, Victoria, Victoria, 'toria
I was born, lucky me
In a land that I love
Though I am poor, I am free
When I grow I shall fight
For this land I shall die
Let her sun never set
Victoria, Victoria, Victoria, 'toria
Victoria, Victoria, Victoria, toria
Land of hope and gloria
Land of my Victoria
Land of hope and gloria
Land of my Victoria
Victoria, 'toria
Victoria, Victoria, Victoria, 'toria
Canada to India
Australia to Cornwall
Singapore to Hong Kong
From the West to the East
From the rich to the poor
Victoria loved them all
Victoria, Victoria, Victoria, 'toria