Find system files and place files in the right location Flashcards

1
Q

What two directories are static and shareable?

A

/usr and /opt

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

What two directories are static and unshareable?

A

/etc and /boot

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

What two directories are variable and shareable?

A

/var/mail and /home

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

What two directories are variable and unshareable?

A

/var/run and /var/lock

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

What directory contains the binaries for commands?

A

/bin

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

What directory contains files normally run by root?

A

/sbin

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

What is the difference between / and /root?

A

/ start of file heirarchy /root - root’s home dir

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

What directory is traditionally used by removeable media devices?

A

/mnt

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

What directory in modern distributions is used by removeable media devices?

A

/media

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

What directory functions a large collection of hardware interfaces?

A

/dev

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

What find switch searches on filename?

A

-name

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

What find switch searches on permission mode?

A

-perm

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

What find switch searches on file size?

A

-size

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

What find switch searches on group?

A

-gid

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

What find switch searches on user id?

A

-uid

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

What find switch restricts search depth?

A

-maxdepth

17
Q

What command is based a database search and filenames and is fast?

A

locate

18
Q

What command is quick way to find program executables and man pages?

A

whereis

19
Q

What search command only uses your defined paths?

A

which