Linux Directory Hierarchy Essentials Flashcards

1
Q

What are the nine subdirectories of root?

A
bin
dev
etc
usr
home
lib
sbin
tmp
var
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two subdirectories of var?

A

log

tmp

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

What are the six subdirectories of usr?

A
bin
man
lib
local
sbin
share
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

bin contains ready-to-run programs (also known as ______).

A

executables

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

bin contains most of the ________.

A

basic Unix commands such as ls and cp

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

Most of the programs in bin are in _____, having been created by a ____, but some are shell scripts in modern systems.

A

binary format

C compiler

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

dev contains ______.

A

device files

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

etc is pronounced _____

A

EHT-see

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

etc is the _______

A

core system configuration directory

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

etc contains ______

A

the user password, boot, device, networking, and other set up files

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

home holds _______ for regular users

A

personal directories

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

An abbreviation for library, _____________.

A

lib holds files containing code that executables can use.

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

sbin is the place for _____. Programs in sbin directories relate to _____ so regular users usuallly do not have sbin components in their command paths.

A

system executables

system management

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

tmp is a storage area for _____.

A

smaller, temporary files that you don’t care much about.

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

Most distributions clear ____ when the machine boots and some even remove its old files periodically.

A

tmp

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

Although pronounced “user,” this subdirectory has _____.

A

no user files

17
Q

Usr contains a ______, including the _____ of the ____.

A

large directory hierarchy
bulk
Linux system

18
Q

var is the ____, where programs ____.

A

variable subdirectory

record runtime information

19
Q

What’s in var?

A

System logging, user tracking, caches, and other files that system programs create and manage

20
Q

boot contains ____ files

A

kernel boot loader

21
Q

media is a ____ for removable media such as flash drives that is found in many distributions

A

base attachment point

22
Q

/include holds ____

A

header files used by the C compiler

23
Q

info contains

A

GNU info manuals

24
Q

local is where ___.

A

administrators can install their own software

25
Q

man contains

A

manual pages

26
Q

share contains

A

files that should work on other kinds of Unix machines with no loss of functionality.

27
Q

A true share directory is becoming rare, because _____.

A

there are no space issues on modern discs.

28
Q

On Linux systems, the kernel is normally in _____ or _____.

A

/vmlinuz

/boot/vmlinuz