We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 1
coursera
= item Navigation
Navigate Linux and read file content
In this reading, you'l review howto navigate the filesystem using Linux commands in Bash, You'l further explore the
‘organization ofthe Linux Filesystem Hierarchy Standard, review several common Linux commands for navigation and
reading ile content, and learn a couple of new commands.
Filesystem Hierarchy Standard (FHS)
Previously, you learned thatthe Filesystem Hierarchy Standard (FHS) isthe component of Linux that organizes data
‘The FHS is important because it defines how directories, directory contents, and other storage is organized in the
operating system,
This diagram illustrates the hierarchy of relationships under the FHS:
Under the FHS, file's location can be described by a file path. A file path isthe location of ale or directory. Inthe file
path, the different levels ofthe hierarchy are separated by a forward slash ()
Root directory
The root directory isthe highest-Level directory in Linux, andi’ always represented with a forward slash (/). AL
subdirectories branch off the root directory. Subdirectories can continue branching out to as many levels as necessary.
‘Standard FHS directories
Directly below the root directory, you'lfind standard FHS directories, In the diagram, home, bin, and ete are
FHS directories. Here area few examples of what standard directories cor
‘+ /uome: Each user in the system gets ther own home directory.
‘+ osm: This directory stands for “binary” and contains binary files and other executables. Executables are les
that contain series of commands a computer needs to follow to run programs and perform ot
functions,
+ fete: Tis directory stores the system's configuration fies
+ /emp: This directory stores many temporary files. The /tmp directory is commonly used by attackers because
anyone in the system can modify data in these files,
+ fans: This directory stands for “mount” and stores media, such as USB drives and hard drives,
Pro Tip: Youcan use theman Ler command to learn more about the FHS and its standard directories.
User-specific subdirectories
Under home are subdirectories for specific users. In the diagram, these users are analyet and analyst2. Each user
has their own personal subdirectories, such as projects, Loge, of reports.
Note: When the path leads toa subdirectory below the user's home director, the user's home directory can be
represented asthe tilde (-}. For example, /nome/analyst//Logs can also be represented as ~/Logs.