1.2 Linux File System Flashcards

1
Q

List the directories in the Linux file system

A
  1. /root
  2. /bin
  3. /boot
  4. /dev
  5. /etc
  6. /home
  7. /lib
  8. /mnt
  9. /opt
  10. /proc
  11. /root
  12. /sbin
  13. /tmp
  14. /var
  15. /usr
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the purpose of the / directory?

A

It is the root directory and holds all other directories.

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

What is the purpose of the /bin directory?

A

It contains executable files necessary for booting the system and performing basic operations.

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

What is the purpose of the /boot directory?

A

It contains boot loader files and kernel images necessary for booting the system.

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

What is the purpose of the /dev directory?

A

Called the /devices directory, it contains files that represent hardware connected to the system.

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

What is the purpose of the /etc directory?

A

It contains system configuration files for the entire system and other applications.

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

What is the purpose of the /home directory?

A

It contains the home directories for users and is typically named with the user’s username.

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

What is the purpose of the /lib directory?

A

It contains libraries required by executable files in the /bin and /sbin directories.

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

What is the purpose of the /mnt directory?

A

It is used as an external mounting point for storage devices (e.g., USB drives).

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

What is the purpose of the /opt directory?

A

It holds optional software applications or packages installed by the administrator.

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

What is the purpose of the /proc directory?

A

It is a virtual system that provides information about running processes and system resources.

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

What is the purpose of the /root directory?

A

It is the home directory for the superuser.

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

What is the purpose of the /sbin directory?

A

It contains system binaries necessary for system administration and maintenance.

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

What is the purpose of the /tmp directory?

A

It is used to store any temporary files created by a process or user.

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

What is the purpose of the /usr directory?

A

It holds user-readable data, documentation, and binaries not required for booting.

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

What is the purpose of the /var directory?

A

It holds variable data files that change frequently.