Workbook 2 Filesystem Basics: Chapter 2 Important Directories Flashcards

1
Q

True or false?

For user bob, his home directory is always /home/bob

A

True [15]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the superuser’s home directory?

A

/root [15]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the purpose of the /tmp directory?

Give an example of when you might use it.

A

For personal space in their home directories,

users are given access to shared “scratch” space [16]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How are virtually all aspects of a Linux system configured?

A

can be configured in some fashion by editing a configuration file [16]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

True or false?

Ordinary users cannot read any files in the /etc directory.

A

True!

ordinary users cannot modify the files in /etc (or even read them, in some cases) [16]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the difference between the
/bin
and
/usr/bin directories?

A

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]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the difference between the
/sbin
and
/usr/sbin directories?

A

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]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Give examples of three kinds of files found in the /var directory.

A
Some files, however, change frequently
incoming/outgoing email
system logs, 
news group collections,
 web sites,
 ftp file archives [17]
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the significance of the following command line’s output?
which cp

A

Displays the FQN of the PROGRAM command file that will be used if the user runs the command. [18]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does the following command line do?

touch me touch me

A

touch command creates a file touch and me

How well did you know this?
1
Not at all
2
3
4
5
Perfectly