File hierarchy system Flashcards

1
Q

/

A

Root directory of the entire file system hierarchy.

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

/bin

A

Essential command binaries (e.g., cat, ls, cp).

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

/boot

A

Boot loader files.

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

/dev

A

Device files (e.g., /dev/null , /dev/sda1 , /dev/tty).

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

/etc

A

Host-specific system-wide configurationfiles.

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

/home, /root

A

User home directories, except the root user which is /root.

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

/lib

A

Libraries essential for binaries in /bin and /sbin

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

/media

A

Mount points for removable media such as DVD

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

/mnt

A

Temporarily mounted filesystems (may include network locations).

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

/opt

A

Optional software packages.

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

/proc

A

Virtual filesystem providing process and kernel information as files. In Linux, corresponds to the procfs mount.

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

/run

A

Run-time variable data: Information about the running system since last boot (e.g., currently logged-in users and daemons)

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

/sbin

A

Essential system binaries (e.g., fsck, init, route).

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

/sys

A

Contains information about devices, drivers, and some kernel features.

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

/tmp, /var/tmp

A

Temporary files (see also /var/tmp). /tmp is a common location in which all users can store non-critical files. Note: The sticky bit (i.e., drwxrwxrwt) is set on files to prevent users from deleting other user’s files.

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

/usr

A

Read-only user data (e.g., multi-user utilities and applications)

17
Q

/usr/bin

A

Non-essential command binaries that are not needed in single user mode.

18
Q

/usr/lib

A

Libraries for the binaries in /usr/bin and /usr/sbin.

19
Q

/usr/local

A

Local data specific to this host.

20
Q

/usr/sbin

A

Non-essential system binaries.

21
Q

/var

A

Variable files expected to change during normal system operation (e.g., logs, spool files, and temporary e

22
Q

/var/log

A

Log files (e.g., auth.log, syslog, apacahe.log, etc.).

23
Q

/var/mail

A

Mailbox files (previously located in the deprecated /var/spool/mail directory).

24
Q

/var/spool

A

Spool for tasks waiting to be processed (e.g. print queues, outgoing mail queues).