Ch4.3 Where data is stored Flashcards

1
Q

Command to find file location of programs ?

A

“which”

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

Which file is the linux kernal found ?

A

“/boot”

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

What does “/proc” store ?

A

Virtual/pseudo stores important system & kernel info that is volatileinformation also about the system’s hardware and the kernel’s configuration settings

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

What files are stored in “/sbin” ?

A

Essential files for system administration

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

What files are stored in “/bin” ?

A

Essential binaries for users

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

What files are stored in “/user/bin” ?

A

Includes most executable files

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

What files are stored in “/usr/local/sbin” ?

A

Locally install programs for sys admininstration

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

What files are stored in “/usr/local/sbin” ?

A

Locally install programs

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

What is the name of the process that starts all other processes ?

A

“systemd”

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

What directory is “/cpuinfo” stored in ?

A

“sys/proc”

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

Where is “/sys” file stored ?

A

“sys/proc”

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

What does the “/sys” file contain ?

A

information about hardware devices arranged into categories. kernel configuration settings

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

What kind of things are stored in “/” directory ?

A

programs that can be necessary in single-user mode

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

What kind of things are stored in “/usr” directory ?

A

the second tier contains most multi-user programs

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

What is stored in “/usr/local” dir ?

A

software that is not provided by the distribution and has been compiled locally

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

What kind of files end in “rc” ?

A

Initialization files

17
Q

Where are files ending in “rc” located ?

A

“/etc”

18
Q

Where are files ending in “.conf” located ?

A

“/etc”

19
Q

What kind of files have a “.d” file ?

A

config files

20
Q

What are “.d” files for ?

A

They help build modular, more robust configurations

21
Q

What does the “free” command do ?

A

Display amount of free and used memory in the system. Reads from /proc/meminfo