Understanding the Filesystem Hierarchy Standard (FHS) Flashcards

1
Q

What is the root of the system tree?

A

/ is the root of the system tree

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

branches of the tree are…

A

the directories

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

What is the FHS?

A

The FHS is a way for everyone to agree what goes where to make it predictable for users and programs

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

What is the FHS a part of?

A

the Linux Standard Base (LSB)

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

Where can you find information about the FHS?

A

Info about FHS can be found at Linux Foundation

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

What does FHS stand for?

A

Filesystem Hierarchy Standard (FHS)

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

what is a shareable file?

A

Shareable files are located in an NFS for example and can be accessed by others

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

What is a non-shareable file?

A

Non-Shareable: these files are local only. Example: files in /etc

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

what is a static file?

A

Static: these files do not change, and do not need a backup, Example: files in /usr and /etc

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

what is a variable file?

A

These files can be changed without root privileges, must be backed up regularly. Example: files in /var and /home

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

What does /bin contain?

A

/bin has binary files

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

What does /boot contain?

A

/boot for boot files

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

What does /dev contain?

A

/dev for devices files

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

What does /etc contain?

A

/etc for config files

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

What does /home contain?

A

/home for users home

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

what does /lib contain?

A

/lib library files for user commands

17
Q

what does /lib64 contain?

A

/lib64 for library files for architecture dependant commands

18
Q

what does /mnt contain?

A

/mnt for temporary mounts of drives

19
Q

what does /opt contain?

A

/opt for add-on packages, for use in local system

20
Q

what does /proc contain?

A

/proc for kernel processes and system info

21
Q

what does /sys contain?

A

/sys contains kernel, devices and driver info

22
Q

what does /root contain?

A

/root home dir for the root user

23
Q

what does /sbin contain?

A

/sbin binaries for root

24
Q

what does /usr contain?

A

Shareable read-only data

25
Q

what does /var contain?

A

/var for variable files, logs

26
Q

what does /srv contain?

A

/srv for data files for services provided to others

27
Q

what does /tmp contain?

A

/tmp for temp files in directories by process

28
Q

What man page can you consult to see more info about the FHS?

A

for more info, consult # man hier