Linux: Package Management & Storage

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/60

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:48 AM on 7/18/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

61 Terms

1
New cards

Kernel

Core of the OS managing hardware, memory, processes, system calls — the layer between applications and physical hardware

2
New cards

System Call

Mechanism by which a user-space program requests a service from the kernel (e.g. open(), read(), write())

3
New cards

Shell

Command-line interpreter that takes typed commands and executes them (bash, zsh, sh)

4
New cards

Distro

A packaged version of Linux combining the kernel with a package manager, utilities, and config conventions

5
New cards

Boot Process order

BIOS/UEFI -> bootloader (GRUB) -> kernel loads -> systemd/init (PID 1) takes over -> services start

6
New cards

Process

An independent running program with its own memory space

7
New cards

Thread

Smallest sequence of instructions manageable independently by the OS scheduler

8
New cards

Process vs Thread

Process = isolated memory space

9
New cards

VM (Virtual Machine)

Virtualizes hardware, full separate OS/kernel per VM — heavier, stronger isolation

10
New cards

Container

Virtualizes at the OS level, shares host's kernel — lighter, faster startup

11
New cards

Hypervisor

Software layer that creates/manages VMs, allocates hardware resources across guest VMs

12
New cards

Hypervisor Type 1

Runs directly on physical hardware, no host OS underneath (e.g. ESXi, Hyper-V, Xen)

13
New cards

Hypervisor Type 2

Runs as an application on top of an existing host OS (e.g. VirtualBox, VMware Workstation/Fusion)

14
New cards

/ (root)

Where every file, folder, and device starts from — top of the filesystem hierarchy

15
New cards

/home

Individual user directories — personal files, user-specific config, SSH keys

16
New cards

/bin, /usr/bin

Standard everyday command-line programs (ls, cd, cp)

17
New cards

/etc

Configuration files for the system — hosts, account details, SSH config

18
New cards

/var

Variable data that changes constantly — logs, temp caches

19
New cards

/tmp

Temporary files, cleared on reboot

20
New cards

/opt

Optional/third-party software installs

21
New cards

/usr

User-installed programs/libraries

22
New cards

/root

Root user's home directory (distinct from / itself)

23
New cards

/dev

Device files — how Linux represents hardware as files

24
New cards

/proc

Virtual filesystem exposing running process and kernel info — not real files on disk

25
New cards

/mnt vs /media

/mnt = manual/temporary mount points (admin use)

26
New cards

Regular File (-)

Contains actual data blocks — text, source code, executables, images

27
New cards

Directory (d)

A file containing filenames and pointers to where those files live

28
New cards

Symbolic Link (l)

A pointer/shortcut to another file or directory PATH — breaks if the original is moved/deleted, can cross filesystems

29
New cards

Hard Link

A second directory entry pointing to the SAME inode/data as the original — not a shortcut, indistinguishable from the original, can't cross filesystems, survives original being deleted

30
New cards

Symbolic vs Hard Link

Symlink points to a path (breaks if target moves)

31
New cards

Inode

Metadata structure storing a file's permissions, owner, size, timestamps, and pointers to its data blocks — NOT the filename itself

32
New cards

Where filenames live

Filenames are stored in the directory entry, mapping a name to an inode number — not inside the inode

33
New cards

Block Device (b)

Hardware handling data read/write in fixed-size blocks, with system caching (e.g. disks)

34
New cards

Character Device (c)

Hardware handling data stream I/O one byte at a time, sequentially, unbuffered (e.g. keyboards, serial ports)

35
New cards

Named Pipe (p) / FIFO

Local communication channel letting two processes pass data directly, first-in-first-out

36
New cards

Network Socket (s)

Endpoint for bidirectional communication between processes, local or networked

37
New cards

Absolute Path

Complete, unique location starting from root (/)

38
New cards

Relative Path

Location defined based on the current working directory

39
New cards

pwd

Print current working directory

40
New cards

cd

Change directory

41
New cards

cd -

Return to the previous working directory

42
New cards

cd (no argument)

Return to the current user's home directory

43
New cards

ls -la

List all files/directories including hidden (dot) files, long format

44
New cards

ls -lh

Long format with human-readable file sizes (K/M/G)

45
New cards

find

Search filesystem by name, type, size, permissions, mod time

46
New cards

find -name

Search by filename pattern

47
New cards

find -type d/f

Filter results to directories or files only

48
New cards

find -mtime

Filter by modified time (days)

49
New cards

find -delete

Combine with a search to delete matching results

50
New cards

locate

Fast filename search via a pre-built database, not the live filesystem — may be stale if db not updated

51
New cards

updatedb

Manually refreshes the locate database

52
New cards

which / type

Show which binary/path a command resolves to, checked against PATH

53
New cards

cp -r

Copy a file or directory (recursive needed for directories)

54
New cards

mv

Move or rename a file/directory

55
New cards

rm -rf

Remove recursively and forcefully — dangerous combo, no confirmation, no undo

56
New cards

mkdir -p

Create a directory including any needed parent directories

57
New cards

rmdir

Remove an EMPTY directory only — fails if it has contents

58
New cards

touch

Create an empty file, or update its modification timestamp if it already exists

59
New cards

cat

Print a file's full contents to the terminal

60
New cards

stat filename

Show detailed metadata about a file — inode number, size, permissions, timestamps

61
New cards

df vs du (quick reference)

df = filesystem/partition-level free space