linux file heirachy Flashcards

1
Q

/

A

The top-level directory is the root filesystem and contains all of the files required to boot the operating system before other filesystems are mounted,

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

/bin

A

Contains essential command binaries.

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

/boot

A

Consists of the static bootloader, kernel executable, and files required to boot the Linux OS.

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

/dev

A

Contains device files to facilitate access to every hardware device attached to the system.

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

/etc

A

Local system configuration files. Configuration files for installed applications may be saved here as well.

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

/home

A

Each user on the system has a subdirectory here for storage.

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

/lib

A

Shared library files that are required for system boot.

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

/media

A

External removable media devices such as USB drives are mounted here

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

/mnt

A

Temporary mount point for regular filesystems.

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

/opt

A

Optional files such as third-party tools can be saved here

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

/root

A

The home directory for the root user.

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

/sbin

A

This directory contains executables used for system administration (binary system files).

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

/tmp

A

The operating system and many programs use this directory to store temporary files. This directory is generally cleared upon system boot and may be deleted at other times without any warning.

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

/usr

A

Contains executables, libraries, man files, etc.

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

/var

A

This directory contains variable data files such as log files, email in-boxes, web application related files, cron files, and more.

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