Chapter 7 Flashcards
Blank are files that control how the computer operates
System files
Name the 7 types of system files
1) System startup scripts that launch servers and other important daemons
2) Program files - both binary files and scripts
3) Program support files - such as icons and fonts
4) Configuration files that define how the system works
5) Configuration files for most services and other daemons
6) Data storage for system programs
7) System log files
Blank, such as user data files and program binary files, may be reasonably shared between computers
Shareable files
Blank files contain system specific information, such as configuration files.
Unshareable
What system provides some standardization in the layout of directories across multiple user accounts
Filesystem Hierarchy Standard (FHS)
Blank files don’t normally change unless through direct intervention by a system administrator
Static
Users, automated scripts, and servers are examples of blank files.
Variable
Static or Variable? /usr
Static
Static or Variable? /home
Variable
Static or Variable? /etc
static
Static or Variable? /root
static
Static or Variable? /var/mail
variable
Static or Variable? /var/run
variable
Static or Variable? /etc
static
Static or Variable? /var/lock
variable
The root directory. All files appear in this directory or subdirectories of it
/
The directory that holds system configuration files
/etc
The directory that holds important boot files, such as the Linux kernel
/boot
The directory that holds program files that are critical for normal operation and users may run
/bin
The directory that holds program files that are critical for normal operation and users may seldom run
/sbin
The directory that holds libraries
/lib
The directory that holds programs and data used in normal system operation but that are critical for a bare bones boot of the system
/usr
The directory that holds users’ home directory
/home
The directory that is the root’s users’ home directory
/root
The directory that holds miscellaneous transient files, such as log files and print spool files
/var
The directory that holds temporary files, often including temporary files created by user programs
/tmp
The directory that is the traditional mount point for removable media; typically split into subdirectories for each mounted filesystem
/mnt
The directory that is the new mount point for removable media
/media
The directory that holds device files, which provide low-level access to hardware
/dev
The directory that has information about the running system
/run
The blank directory holds most system configuration files
/etc
Program files that exist in /sbin, /bin, /usr/sbin and /usr/bin are blank
executable directories
Blank are collections of programming functions that can be useful to many programs. They’re stored in separate files to save disk space and RAM when programs run
Library directories
To manipulate files, it’s helpful to know what they are. The blank command provides you with this information
ls
Give both the long form and short form ls option that will display dot(hidden) files
–all -a
Give the long form option of ls that produces a color coding listing that differentiates directories and other special files by displaying them in different colors
–color
Give both the long form and short form ls option that changes the behavior of ls to only list directory names
–directory -d
Give both the short form ls option that produces a long listing that includes information such as the file’s permission string, owner, group, etc
-l
Give both the long form and short form ls option that appends an indicator code to the end of each name so that you know what type of file it is
–file-type -F