/ :This is the system's root directory. /root :This is the root account's home directory. /boot :Files needed in order to start the boot process. /dev :Contains special device files which are used by the system to access hardware. /etc :This directory contains static, persistent system configuration data. /home :Home directories where regular users store their personal data and configuration files. /run :Contains dynamic, non-persistent application runtime data. /tmp :Temporary files are stored here. /usr :Contains installed software programs and libraries. /usr/bin :User commands. /usr/sbin :System administration commands. /usr/local:Locally customized software. /var :This directory contains dynamic configuration data, such as FTP and websites.
Absolute paths and relative paths
Absolute path:a fully qualified name, beginning at the root (/) directory and specifying each subdirectory traversed to reach and uniquely represent a single file.
Relative path:specifying only the path necessary to reach the file from the working directory.
Navigating paths
# pwd displays the full path name of the current location
# ls lists directory contents for the specified directory -l long listing format -a all files, includes hidden files -R recursive, to include the contents of all subdirectories
# cd change directories cd - changes directory to the directory where the user was previous to the current directory. cd .. move up one level to the parent directory, without needing to know the exact parent name.
# touch normally updates a file's timestamp to the current date and time without otherwise modifying it. This is useful for creating empty files.
※ File names beginning with a dot(.) indicate files hidden from normal view using ls and other commands.