Workbook 2 Filesystem Basics: Chapter 2 Important Directories Flashcards
True or false?
For user bob, his home directory is always /home/bob
True [15]
What is the superuser’s home directory?
/root [15]
What is the purpose of the /tmp directory?
Give an example of when you might use it.
For personal space in their home directories,
users are given access to shared “scratch” space [16]
How are virtually all aspects of a Linux system configured?
can be configured in some fashion by editing a configuration file [16]
True or false?
Ordinary users cannot read any files in the /etc directory.
True!
ordinary users cannot modify the files in /etc (or even read them, in some cases) [16]
What is the difference between the
/bin
and
/usr/bin directories?
Core utilities like ls, cd, cp, mv and the vi text editor go in the /bin
Supplementary utilities like compilers, your web browser and office suite go in /usr/bin [16]
What is the difference between the
/sbin
and
/usr/sbin directories?
For super user or root
These include commands for attaching and removing hardware, for starting and stopping the system, and for performing system maintenance. [17]
Give examples of three kinds of files found in the /var directory.
Some files, however, change frequently incoming/outgoing email system logs, news group collections, web sites, ftp file archives [17]
What is the significance of the following command line’s output?
which cp
Displays the FQN of the PROGRAM command file that will be used if the user runs the command. [18]
What does the following command line do?
touch me touch me
touch command creates a file touch and me