Important Directories and Files Flashcards

(23 cards)

1
Q

/dev

A

It is for holding device files

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

/etc

A

Pronounced EHT-see, it is a directory to hold core system configuration files like user password, device and graphic drivers and networking setup files

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

/home

A

It contains the personal directories for the system’s normal, non-root users

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

/lib

A

A directory for containing shared STATIC libraries used by executables

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

/proc

A

A directory that provides system statistics and information on running processes and kernel parameters through a directory and file interface

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

/sys

A

Directory that contains a virtual file system that exports kernel parameters and information on various subsystems and hardware devices currently installed.

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

/sbin

A

A directory for holding SYSTEM executables for system management and usually don’t work unless running as root

i.e. It is the system only version of /bin

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

/tmp

A

Directory for holding temporary files.

It is often wiped clean in between reboots by many distros so not recommended to put anything we care for.

It SHARES SPACE WITH CRITICAL DIRS LIKE / SO BE CAREFUL WITH SPACE MANAGEMENT

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

/usr

A

Pronounced “user”; it is a directory for holding the bulk of Linux system files and shares the same directory structure hierarchy as / (like /usr/bin and /usr/lib)

The reason for these nested files to not be in the directories for / are mostly for historic reasons where space on / was usually low

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

/var

A

A directory for storing runtime information such as system logging, user tracking and caches.

/var/tmp exists but it does NOT get wiped on boot

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

/boot

A

Directory for holding files needed for the initial stage of the Linux boot process

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

/media

A

An attachment point for removable devices such as USB flash drives and external hard drives

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

/opt

A

Directory for storing third party software.

Not used by most Linux distros anymore

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

/usr/include

A

Directory that holds header files used by the C compiler

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

/usr/info

A

Directory that contains GNU info manuals

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

/usr/local

A

A directory for installing administrator executables and files and has the same directory structure hierarchy as / and /usr

17
Q

/usr/man

A

Directory for storing man pages

18
Q

/usr/share

A

Directory used for sharing files with other UNIX machines that can work without any loss of functionality.

Used originally for sharing important files between networked machines when hard drive space was rare.

19
Q

/vmlinuz or /boot/vmlinuz

A

The file that contains the entire Linux kernel that is loaded on boot.

20
Q

/lib/modules

A

Directory for storing loadable kernel modules

21
Q

/bin

A

Contains executables like “ls” or “cp” including most of the basic UNIX commands

22
Q

/etc/passwd

A

A file for configuring user passwords

23
Q

/etc/sudoers

A

A file for granting permissions and root access to users as well as setting up group aliases