Linux-Based Operating Systems - System Management

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/23

flashcard set

Earn XP

Description and Tags

Flashcards covering Linux system management including archiving, compression tools (gzip, bzip2, xz, zip), tar utilities, custom aliases, MBR vs GPT partitioning, LVM architecture, and disk monitoring commands (df, du).

Last updated 10:59 PM on 6/28/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

24 Terms

1
New cards

Who is the lecturer and what was the date for the Week 7 System Management lecture?

Mr. Heystek Grobler on June 14, 2026.

2
New cards

What is the primary difference between archiving and compression?

Archiving is a container for multiple files or directories with no size reduction, whereas compression reduces file size using algorithms to save disk space.

3
New cards

In the example of archiving 10 files of 100KB100\,KB each, what is the resulting archive size?

1,000KB1,000\,KB

4
New cards

Which compression tool uses the DEFLATE algorithm and is natively supported by Windows, macOS, and Linux?

zip

5
New cards

What are the compression algorithms used by gzip, bzip2, and xz respectively?

gzip uses LZ77, bzip2 uses Burrows-Wheeler + Huffman, and xz uses LZMA2.

6
New cards

How do you compress a directory recursively using the zip command?

$ zip -r pictures.zip /home/user/Pictures/

7
New cards

What flag is used with gzip to keep the original file during compression?

-vk

8
New cards

Which Linux compression tool is currently considered the most space-efficient?

xz

9
New cards

In the tar command, what do the options -c, -x, and -v represent?

-c creates an archive, -x extracts an archive, and -v provides verbose output.

10
New cards

What are the tar flags for gzip, bzip2, and xz compression?

-z for gzip (.tar.gz), -j for bzip2 (.tar.bz2), and -J for xz (.tar.xz).

11
New cards

What command allows you to extract a .tar archive to a specific directory?

$ tar -xvf archive.tar -C /path/to/destination/

12
New cards

What is the purpose of listing archive contents with 'tar -tvf' before extracting?

It shows permissions, modification times, and filenames to prevent accidental overwrites and verify if files are contained in a directory.

13
New cards

What is a Linux alias?

A custom command created by a user to execute another, usually more complicated, command or group of commands.

14
New cards

How do you make an alias permanent in Linux?

Add the alias definition to the /home/username/.bashrc file and run 'source /home/username/.bashrc' to apply it immediately.

15
New cards

What is the result of the alias command: alias date="date;cal"?

Running the 'date' command will display both the current date/time and the calendar.

16
New cards

Compare the maximum partition limit and maximum disk size for MBR and GPT.

MBR supports up to 4 primary partitions and a 2TB2\,TB disk size; GPT supports up to 128 partitions and a 9.4ZB9.4\,ZB disk size.

17
New cards

How does MBR overcome the limit of 4 primary partitions?

By creating an extended partition which can contain up to 12 logical partitions.

18
New cards

What are the three key components of Logical Volume Management (LVM) architecture?

Physical Volumes (PVs), Volume Groups (VGs), and Logical Volumes (LVs).

19
New cards

When was LVM introduced and for which Linux kernel?

Introduced in 1998 for the Linux 2.4 kernel.

20
New cards

What LVM capability allows for a consistent backup without system shutdown?

Snapshots, which capture the exact state of a logical volume at a specific moment.

21
New cards

What is the single-step command to expand a Logical Volume by 50GB50\,GB and auto-resize the filesystem?

$ lvextend -r -L +50G /dev/MyVG01/Stuff

22
New cards

What is the difference between the df and du commands?

df (disk free) displays information about mounted storage devices and free space, while du (disk usage) analyzes disk usage within specific directories and files.

23
New cards

Which df option is used to show the filesystem type?

-T

24
New cards

How can you use the du command to identify the top 10 'space hogs' in a directory?

$ du -sh * | sort -rh | head -10