File System Hierarchy Flashcards

1
Q

what is in the /directory?

A

the root of the file system. contains all the files required to boot the os before the other filesystems are mounted as subdirectories of it.

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

what is in the /bin directory?

A

contains essential command binaries like (cd, mkdir, bash….).

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

what is in the /boot directory?

A

contains the files used to boot the os like (static bootloader, kernel executable…).

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

what is in the /etc directory?

A

configuration files for both the system and installed applications.

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

what is in the /home directory?

A

each user in the system has a subdirectory here for storage.

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

what is in the /lib directory?

A

the shared library files that are required for system boot.

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

what is in the /media directory?

A

external removable media devices like usb drives get mounted here.

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

what is in the /mnt directory?

A

It is the directory where other filesystems get mounted.

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

what is in the /opt directory?

A

third party applications get installed here.

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

what is in the /root directory?

A

the home directory of the root user.

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

what is in the /sbin directory?

A

the executables for system administration.

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

what is in the /tmp directory?

A

used for the storage of temporary files. and gets cleared upon system boot or randomly without giving warnings.

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

What is in the /usr directory?

A

contains executables, libraries, man files …..

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

what is in the /var directory?

A

contains variable data files like log files, cron files ….

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