1.1 Server-File-System-Intro
1.1 Server-File-System-Intro
There are literally thousands of directories, sub directories, and files on a Linux installation.
We’ll cover the basics, which should get you through typical use cases, and also where to find
more information if you need it.
There are two high level sources we’ll discuss in the following lessons.
You can type man hier at any time and search for the directory you’re interested in knowing
more about.
To search for information on the /opt directory, for example, you would open the hier man
page, and type the / then the text you’re interested in.
/opt
There are many instances of opt (as in optional), so hit n until we get to the one we’re
interested in, /opt.
//opt
/opt is the directory you would use to install a program that is not part of the managed
package system.
When we install the Lynis security auditing tool, in a later lesson, for example, it will go here.
Version 2.3 was released in 2004, so this isn’t a very active project, but it is a resource you can
use for looking up how things should be done.
Bear in mind, Distro’s are not required to put things in any specific directories, so you will see
some variation between them.
That said, the general layout should be intelligible, once you understand where things belong.
More Information
Link to .pdf version of the FHS on pathname.com
http://www.pathname.com/fhs/pub/fhs-2.3.pdf