linux directories Flashcards

1
Q

What is the purpose of the /bin directory in Linux?

A

/bin directory: Contains essential binary executable files, such as system commands that are required for booting and repairing the system.

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

What is stored in the /etc directory?

A

/etc directory: Contains configuration files for the system and various applications installed on the system.

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

What does the /home directory contain in Linux?

A

/home directory: Stores user home directories, where each user has their own subdirectory for personal files and settings.

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

What is the purpose of the /var directory?

A

/var directory: Contains variable data files, such as logs, spool files, and temporary files that may change frequently during system operation.

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

What does the /tmp directory store?

A

/tmp directory: Stores temporary files that are often created by programs and scripts. These files are typically deleted upon system reboot.

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

Explain the significance of the /usr directory in Linux.

A

/usr directory: Contains user-related programs, libraries, documentation, and other resources that are not required for the basic system boot process.

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

What is the purpose of the /dev directory in Linux?

A

/dev directory: Contains device files, representing hardware devices and system resources, which allow interaction with the kernel and devices.

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

What is stored in the /proc directory?

A

/proc directory: Contains virtual files that represent system and process information. It provides a way to interact with the kernel and view system and process details.

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

What does the /sbin directory contain?

A

/sbin directory: Contains system binaries, which are essential for system administration tasks and are typically used by the root user.

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 in Linux?

A

/opt directory: Contains optional software packages, typically those installed by the system administrator rather than the operating system, following a self-contained directory structure.

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