Lecture 2 Linux Standard File System
Lecture 2 Linux Standard File System
login.sql progs
safe
1.) root directory(/)
Everything in the Linux system is located under the / directory, known as
the root directory. That is, it is the directory that contains all other
directories and their subdirectories as well as all files on the system.
/ directory is similar to the C:\ directory on Windows – but this isn’t
strictly true, as Linux doesn’t have drive letters. While another partition
would be located at D:\ on Windows, this other partition would appear in
another folder under / on Linux.
4.)/etc directory
This directory contains the configuration files of the system.
Important aspect of system functioning can be changed by editing a text
file in this directory.
Login name and password are stored in files /etc/passwd and /etc/shadow.
11.) /var
• Contains variable part of the file system.
• Contains outgoing and incoming mails, print jobs, logging files etc.
12. /media – Removable Media
• The /media directory contains subdirectories where removable media
devices inserted into the computer are mounted. For example, when a
CD is inserted into Linux system, a directory will automatically be
created inside the /media directory. The contents of the CD can be
accessed inside this directory.
13.) /opt
• This directory is reserved for all the software and add-on packages that
are not part of the default installation.
14.) /srv
• This directory contains subdirectories where services running on the
system (such as http and ftp) save their files.