1.1 Summarize Linux Fundamentals Flashcards

1
Q

/boot

A

stores boot loaders.

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

/proc

A

Stores system processes and resources.

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

/sys

A

System ( helps with interacting with Linux kernel; everything runs in RAM and deletes on shutdown).

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

/var

A

Stores files that grow in size like log files, databases for mail, etc.

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

/usr

A

User applications; non-essential user applications are stored here.

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

/lib

A

Libraries; files that binaries need to run certain application settings.

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

/dev

A

Devices; hardware, KBMs, harddrives.

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

/etc

A

Et cetera; all system-wide configuration files are here.

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

/opt

A

Optional; manually installed software from vendors and some repositories(like zeek or suricata).

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

/bin

A

Binaries; basic shell commands are stored here.

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

/sbin

A

System Binaries; Binaries that a system admin would use.

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

/home

A

All your personal files, documents, and downloads; user settings are also stored hidden files like .bashrc or .local.

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

/media

A

Flash Drives; removable devices and drives.

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

/mnt

A

mounted drives; permanent storage.

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

/root

A

Root user’s home folder.

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

/tmp

A

Stores system and user application data that is needed only temporarily.

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

mkinitrd command

A

generates RAM disk files, initrd.img and initramfs.img that the bootloader uses to load the system kernel.

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

grub2-install command

A

installs the grub2 configuration files to system.

19
Q

grub2-mkconfig command

A

generates a new grub.cfg config file that can be used to update existing grub.cfg file.

20
Q

grub2-update command

A

updates the grub2 configuration file.

21
Q

dracut command

A

predecessor of mkinitrd command. It will generate a generic initramfs image

22
Q

initrd.img

A

Archive file that contains all the essential files that are required for booting the OS.

23
Q

vmlinuz

A

The vmlinuz file is found in the boot directory and contains kernel code and data required to start and manage the system.

24
Q

GRUB2

A

Newer version of GRUB. It offers more control over the boot process, boot devices, and boot behavior.

The default bootloader today.

25
Preboot eXecution Environment (PXE)
Allows the client to retrieve required boot loaders and system files from a server over the network.
26
Kernel Panic
A critical error where the kernel has encountered an unrecoverable error. The system will halt and become unresponsive. This can happen because of bugs, hardware issues, bad drivers, filesystem corruption.
27
Block devices
read/write in blocks of data (hard drives, SSDs).
28
Character devices
Read/write in character streams of data (KBM, serial ports).
29
/dev/null
A special type of virtual device that discards anything you send or redirect into it.
30
/dev/zero
A special virtual device that returns a null character anytime you read from it. Sends back the ASCII character of 0x00.
31
/dev/urandom
A special virtual device that returns a randomized series of pseudorandom numbers.
32
./configure script
It is a script that will compile a configuration for software based on your system.
33
make command
Once you make a configuration file with the ./configure script, this command will actually build the software from that configuration file.
34
make install command
After using the ./configure and make command to configure and build out the software, the make install command will install these binaries to their appropriate locations.
35
file storage
Organizes data into files and directories.
36
Block storage
Divides data into fixed-size blocks that are accessed by their unique addresses.
37
Object storage
Treats data as objects with unique identifiers, metadata, and content.
38
Master Boot Record(MBR)
The sector that the BIOS reads in and starts when the machine is first booted
39
GUID Partition Table (GPT)
Partition structure with a more modern design and is part of the UEFI standard.
40
Filesystem in Userspace(FUSE)
This lets non-privileged users create their own file systems without editing the underlying kernel code.
41
lspsi command
Displays info about devices connected to the system's PCI/PCIE buses.
42
lsusb command
Used to list info about devices connected to usb. -v flag ----- device info bus -s ------ filter result -d ---- Vendor/product
43
dmidecode command
Dumps the system's Desktop Management Interface table and presents it in a readable format.