System Administration and Maintenance (Linux) Reviewer

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

1/675

flashcard set

Earn XP

Description and Tags

Comprehensive review flashcards covering Lessons 1 to 8 of System Administration and Maintenance (Linux), including Operating Systems, Kernels, Shells, File Systems, Linux Distributions, Desktop Environments, Package Management, Basic and Administrative Commands, Server Hardening, Ethical Hacking, and Penetration Testing.

676 Terms

1
New cards

How is an operating system (OS) defined?

An operating system (OS) is system software that manages computer hardware, software resources, and provides common services for computer programs.

2
New cards

What are the core technical characteristics of the Linux kernel?

It is a free and open-source, monolithic, modular, multitasking, Unix-like operating system kernel.

3
New cards

When and for what hardware architecture was the Linux kernel originally created by Linus Torvalds?

It was conceived and created in 19911991 by Linus Torvalds for his i386-based PC.

4
New cards

For which operating system project was the Linux kernel adopted as a free replacement for UNIX?

The GNU operating system.

5
New cards

What is the defining component of any Linux distribution?

The Linux kernel.

6
New cards

On what exact date was the Linux kernel first released by Linus Torvalds?

September 1717, 19911991.

7
New cards

Why does the Free Software Foundation use the name 'GNU/Linux'?

To emphasize that most Linux distributions are not just the Linux kernel, but share numerous utilities and libraries from the GNU project.

8
New cards

When and where was Linus Benedict Torvalds born?

December 2828, 19691969, in Helsinki, Finland.

9
New cards

Which revision control system was created by Linus Torvalds?

Git.

10
New cards

What award was given to Linus Torvalds in 20142014?

20142014 IEEE Computer Society Computer Pioneer Award.

11
New cards

What was the original name Linus Torvalds intended for Linux, and what was its derivation?

Freax, derived from 'FREE' and the 'X' needed for Unix.

12
New cards

How is open-source software defined?

Software in which the copyright holder provides the rights to study, change, and distribute the software to anyone and for any purpose, often developed in a public, collaborative manner.

13
New cards

In the GNU/Linux system metaphor, what are the 'bones' and what is the 'meat' of the system?

The Linux kernel represents the bones, while the utilities and development tools from the GNU project represent the meat.

14
New cards

What windowing systems are typically included in desktop Linux distributions?

X11 or Wayland.

15
New cards

Which two commercial Linux distributions are specifically mentioned in the lecture?

Red Hat Enterprise Linux and SUSE Linux Enterprise Server.

16
New cards

What percentage of world cloud infrastructure is powered by Linux?

90%90\% of all cloud infrastructure.

17
New cards

What percentage of smartphones worldwide are Linux-based?

74%74\% of smartphones.

18
New cards

Which smart TV operating systems mentioned in the lecture are Linux-based?

Tizen (Samsung) and WebOS (LG).

19
New cards

Which space vehicle avionics systems run a customized version of Linux?

The Falcon 99's and the Dragon 22's avionics.

20
New cards

What form of license is the GNU General Public License (GPL)?

It is a form of copyleft.

21
New cards

What core requirement does the GNU GPL impose on anyone distributing software based on its source code?

They must make the originating source code (and any modifications) available to the recipient under the same terms.

22
New cards

According to the OS comparison, what are the pros of Windows?

Support for all hardware, ease of use, software support, plug and play feature, and desktop and touchscreen.

23
New cards

According to the OS comparison, what are the cons of Windows?

Virus attacks, paid software, high computer resources, and technical support.

24
New cards

According to the OS comparison, what are the pros of Mac OS?

Fewer virus attacks, good customer support, similar GUI for all products, performance and long life, and default apps.

25
New cards

According to the OS comparison, what are the cons of Mac OS?

Expensive, fewer games and software, and no hardware customization.

26
New cards

According to the OS comparison, what are the pros of Linux?

Open-source, no need for anti-virus, powerful CLI, low system specifications, good at multitasking, and less disk space needed.

27
New cards

According to the OS comparison, what are the cons of Linux?

Hardware drivers, learning curve, software alternative, and games.

28
New cards

Why is anti-virus software characterized as problematic for Windows in the lecture?

Windows users pay for anti-virus that is only about 20%20\% effective, and it severely limits system performance.

29
New cards

How does software installation differ fundamentally between Linux and Windows?

Linux uses a centralized software approach and installs software in predetermined directories, whereas Windows does not.

30
New cards

How do system updates and computer restarts differ between Linux and Windows?

Linux updates everything at once, alerts users, and never restarts without permission; Windows only updates Windows and select MS software, and restarts without user consent.

31
New cards

How are storage drives identified in Linux versus Windows?

Linux uses /dev for drives; Windows uses alphabet letters.

32
New cards

What are the five common mistakes made by new Linux users?

11. Choose wrong hardware; 22. Choose wrong Linux distributions; 33. Expect Linux to be Windows; 44. Use Google to find software; 55. Do not take time to learn Linux.

33
New cards

Who developed Unix at AT&T Bell Laboratories, and in what year?

Ken Thompson and Dennis Ritchie in 19691969.

34
New cards

What language was Unix initially written in, and what happened in 19731973?

It was initially written in assembly language in 19711971, and rewritten in the C programming language by Dennis Ritchie in 19731973.

35
New cards

What happened when UC Berkeley released the Berkeley Software Distribution (BSD) in 19771977?

BSD contained Unix code, causing AT&T to sue.

36
New cards

Who started the GNU project in 19831983, and what was its kernel called?

Richard Stallman started the GNU project; its kernel was Hurd.

37
New cards

Who released MINIX in 19871987, and what were its licensing limitations?

Andrew S. Tanenbaum released MINIX for academic use; its source code was available, but modification and redistribution were restricted.

38
New cards

What was IRIX, and what major file system and graphics API originated in it?

IRIX was a UNIX System V-based OS by Silicon Graphics (SGI) for MIPS systems; it originated the XFS file system and OpenGL graphics API.

39
New cards

What were the defining features of Linux Kernel Version V0.01 released in September 19911991?

A Minix-like kernel for i386(+) AT-machines, using system calls rather than message passing, a fully multi-threaded FS, minimal task switching, and visible interrupts.

40
New cards

What major capabilities were introduced in Linux Kernel V1.0 in March 19941994?

Multi-programming (multiple programs run at the same time) and virtual memory management.

41
New cards

What features were added in Linux Kernel V2.0 in June 19961996?

Restructured memory management, improved task scheduling, improved SCSI support, and network file system support for NCP (Novell) and SMB.

42
New cards

Why was Linux Kernel V3.0 released in July 20112011?

To mark the 20th20\text{th} anniversary of Linux, bringing better virtualization handling, Btrfs data scrubbing, and auto-defragmentation.

43
New cards

What reason did some people advocate for adopting the 4.04.0 kernel version number?

To eventually see 4.1.154.1.15, which was the version of Linux SkyNet used for the T-800 Terminator.

44
New cards

What were key features of Linux Kernel V5.9 released in October 20202020?

New slab memory controller, ZSTD-compressed kernel/ramdisk/initramfs support, USB 44 specification support, and initial IBM POWER10 processor support.

45
New cards

What is the purpose of the 'memfd_secret' system call added to Linux 5.145.14?

It creates memory areas visible only in the context of the owning process, unmapped by other processes or kernel page tables.

46
New cards

What are the five main objectives of the operating system kernel?

11. Establish communication between user applications and hardware; 22. Decide the state of incoming processes; 33. Control disk management; 44. Control memory management; 55. Control task management.

47
New cards

How does the kernel handle application requests for hardware access?

Applications make system calls or software interrupts, switching execution from user mode to privileged kernel mode.

48
New cards

What mechanism does the kernel scheduler use to enable multitasking?

Context switching.

49
New cards

What is the kernel used by Microsoft Windows called?

NT Kernel.

50
New cards

Approximately how many lines of code are in the Linux kernel codebase?

15M15\text{M} (and up to 30M30\text{M} in v6.4 in 20232023).

51
New cards

What kernel is used by Apple OS X and iOS?

Darwin Kernel.

52
New cards

What kernel does Android use?

Linux kernel.

53
New cards

What are the five primary architectural types of operating system kernels?

Monolithic Kernel, Microkernel, Hybrid Kernel, Exo Kernel, and Nano Kernel.

54
New cards

What characterizes a monolithic kernel architecture?

The entire kernel operates in a single address space where all basic services (process, memory, device drivers, file systems) run in kernel space.

55
New cards

What is the main operational advantage and disadvantage of a monolithic kernel?

Advantage: Faster execution due to less context switching; Disadvantage: A single bug can crash the entire system.

56
New cards

What characterizes a microkernel architecture?

A minimalist approach that keeps virtual memory and thread scheduling in kernel space while putting most services in user space.

57
New cards

What are examples of microkernels listed in the lecture?

Mach, L4, AmigaOS, Minix, and K42.

58
New cards

What defines a hybrid kernel architecture?

It combines the speed and design of a monolithic kernel with the modularity and stability of a microkernel (e.g., Windows NT, Netware, BeOS).

59
New cards

What is an exo kernel?

A kernel following the end-to-end principle that provides the fewest hardware abstractions possible and allocates physical resources directly (e.g., Nemesis, ExOS).

60
New cards

What is a nano kernel?

A kernel that offers hardware abstraction without providing system services (e.g., EROS).

61
New cards

What is the primary role of a shell in Linux?

It acts as a command interpreter and interface between the user and the kernel to execute programs and utilities.

62
New cards

Who developed the Bourne Shell (sh), and where was it created?

Steve Bourne at AT&T Bell Labs.

63
New cards

What are the major limitations of the original Bourne Shell (sh)?

It lacks in-built logical/arithmetic functionality, cannot recall previously used commands, and lacks comprehensive interactive features.

64
New cards

What is the complete path-name and default prompts for the GNU Bourne-Again shell (bash)?

Path: /bin/bash; Root prompt: bash-VersionNumber#; Non-root prompt: bash-VersionNumber$.

65
New cards

Who created the C Shell (csh), and what was its distinctive syntax based on?

Bill Joy at the University of California; its syntax was based on the C programming language.

66
New cards

What are the default prompts for the C Shell (csh)?

Root user: hostname#; Non-root user: hostname%.

67
New cards

Who developed the Korn Shell (ksh), and what was its design purpose?

David Korn at AT&T Bell Labs; designed as an enhanced superset of the Bourne shell with C shell-like interactive features.

68
New cards

What does the shell abbreviation 'fish' or 'fsh' stand for?

Friendly Interactive Shell.

69
New cards

What are the default root and non-root prompts for the Z Shell (zsh)?

Root: #; Non-root: %.

70
New cards

What was Linux's first file system, and what were its size and filename limits?

The MINIX file system; maximum volume size of 64 MB64\,\text{MB} and maximum filename length of 1414 characters.

71
New cards

Who developed the Extended (ext) and Second Extended (ext2) file systems?

Rémy Card.

72
New cards

Why is ext2 still used for flash storage media like SD cards and USB drives?

Its lack of journaling increases performance and minimizes writes, preserving flash memory write cycles.

73
New cards

What are the maximum file and volume sizes for ext2?

Maximum file size: 2 TB2\,\text{TB}; Maximum volume size: 4 TB4\,\text{TB}.

74
New cards

When was ext3 released, and what is its maximum volume size?

November 20012001; maximum volume size of 32 TB32\,\text{TB}.

75
New cards

What are the storage limits of the ext4 file system?

Maximum file size: 16 TB16\,\text{TB}; Maximum volume size: 1 Exabyte1\,\text{Exabyte}; Maximum number of files: 4 Billion4\,\text{Billion}.

76
New cards

What underlying design principle powers the Btrfs file system?

The Copy-on-Write (COW) principle with an integrated logical volume manager.

77
New cards

What are the maximum file size, volume size, and file count for Btrfs?

Maximum file size: 16 EB16\,\text{EB}; Maximum volume size: 16 Exabyte16\,\text{Exabyte}; Maximum number of files: 2642^{64}.

78
New cards

Who led the development of ReiserFS, and what was its maximum volume size?

Hans Reiser at Namesys; maximum volume size of 16 TB16\,\text{TB}.

79
New cards

When did Silicon Graphics begin development of XFS, and when was it released under GPL?

Development began in 19931993; released under GPL in May 19991999.

80
New cards

Who originally developed ZFS, and for what operating system?

Sun Microsystems for Solaris.

81
New cards

What are three common use cases for ZFS?

Enterprise Storage Solutions, Backup and Disaster Recovery, and File Server / NAS.

82
New cards

What are the two operational components of NFS (Network File System)?

NFS Server (hosts shared directories) and NFS Client (mounts and accesses shared directories).

83
New cards

Which file systems are utilized by Microsoft Windows?

FAT, NTFS, exFAT, Live File System, and ReFS (Resilient File System).

84
New cards

What restriction applies to the Resilient File System (ReFS) in Windows?

Windows cannot boot from it.

85
New cards

In the Linux filesystem hierarchy, what is the role of the /bin directory?

Contains essential executable program binaries needed for minimal functionality, booting, and single-user recovery (e.g., cat, ls, cp).

86
New cards

In the Linux filesystem hierarchy, what is stored in /boot?

Boot loader files, including kernels and initrd.

87
New cards

In the Linux filesystem hierarchy, what is stored in /dev?

Device files representing hardware or virtual devices (e.g., /dev/null, /dev/sda1, /dev/tty, /dev/random).

88
New cards

In the Linux filesystem hierarchy, what is the purpose of /etc?

Host-specific system-wide configuration files.

89
New cards

In the Linux filesystem hierarchy, what is the purpose of /lib and /lib64?

Libraries essential for the binaries located in /bin and /sbin.

90
New cards

In the Linux filesystem hierarchy, what is the purpose of /mnt?

Mount point for temporarily mounted filesystems.

91
New cards

In the Linux filesystem hierarchy, what is stored in /opt?

Add-on application software packages.

92
New cards

In the Linux filesystem hierarchy, what is /proc?

A virtual filesystem providing process and kernel information.

93
New cards

In the Linux filesystem hierarchy, what is stored in /run?

Run-time variable data since the last boot, such as currently logged-in users and running daemons.

94
New cards

In the Linux filesystem hierarchy, what distinguishes /sbin from /bin?

/sbin contains essential system administrative binaries intended primarily for the root user (e.g., fsck, init, route).

95
New cards

In the Linux filesystem hierarchy, what is stored in /srv?

Site-specific data served by the system, such as web server data, FTP files, or version control repositories.

96
New cards

In the Linux filesystem hierarchy, what is /sys?

Contains information about devices, drivers, and kernel features.

97
New cards

In the Linux filesystem hierarchy, what is /var?

Stores variable data files such as system logs, mail spools, and transient databases.

98
New cards

Who developed Slackware in July 19931993, and what is its design focus?

Patrick Volkerding; focused on simplicity, software purity, and providing no graphical installation.

99
New cards

Who founded Debian in September 19931993, and how often does it release?

Ian Murdock and the Debian Project; releases approximately every two years.

100
New cards

What does the German acronym SUSE stand for, and what configuration tool does it feature?

'Software und System-Entwicklung' (Software and systems development); features the YaST (Yet another Setup Tool) utility.