Chapter 4 Flashcards
Contains binary commands for use by all users (on most Linux systems, this directory is a shortcut to /usr/bin)
/bin
Contains the Linux kernel and files used by the boot loader
/boot
Contains device files
/dev
Contains system-specific configuration files
/etc
Is the default location for user home directories
/home
Contains shared program libraries (used by the commands in /bin and /sbin) as well as kernel modules
/lib
A directory that contains subdirectories used for accessing (mounting) filesystems on removable media devices such as floppy disks, DVDs, and USB flash drives
/media
An empty directory used for temporarily accessing filesystems on removable media devices
/mnt
Stores additional software programs
/opt
Contains process and kernel information
/proc
Is the root user’s home directory
/root
Contains system binary commands (used for administration)
/sbin
Contains configuration information for hardware devices on the system
/sys
Holds temporary files created by programs
/tmp
Contains most system commands and utilities
/usr
Is the location for most additional programs
/usr/local
Contains log files and spools
/var
Creates directories
mkdir
Removes empty directories
rmdir
Moves/renames files and directories
mv
Copies files and directories full of files (with the –r or –R option)
cp
Displays BASH shell aliases
alias
Removes files and directories full of files (with the –r or –R option)
rm
Removes files
unlink
The section within an inode of a file or directory that lists the permissions assigned to users and groups on the file or directory.
access control list (ACL)
A command used to change filesystem attributes for a Linux file.
chattr (change attributes) command
A command used to change the group owner of a file or directory
chgrp (change group) command