Directories Flashcards
/dev
contains special device files for all the devices
/etc
directory is contained in the root directory. it stores storage system configuration files, executables required to boot the system, and some log files.
/media
contains subdirectories where removable media devices inserted into the computer are mounted
/usr
usually contains by far the largest share of data on a system. Hence, this is one of the most important directories in the system as it contains all the user binaries, their documentation, libraries, header files, etc…. X and its supporting libraries can be found here.
/var
is a standard subdirectory of the root directory in Linux and other Unix-like operating systems that contains files to which the system writes data during the course of its operation
/etc/skel
A template directory for new users
it contains several files and directories
new users inherit them in their home directories
/etc/shadow
A file with local user passwords that are encrypted with special Linux encryption or hashed. Requires you to have admin privileges to do anything
/etc/password
a file that contains user information without passwords and is displayed in plain text format
/etc/apache2/a/apache2.conf
is the configuration file that includes global settings
/var/www/html
directory contains the main apache web pages
Absolute Path
”/” indicates the root folder. Navigating to a path from the root
Relative Path
- The path relative to the working directory
- navigation to the directories without specifying the root.