Chapter 1 Flashcards

1
Q

What is the core component of the Linux operating system?

A

The Linux kernel is the core component of the Linux operating system

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

What is the role of the shell in Linux?

A

Interface that allows users to interact with the operating system through command-line commands.

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

Which open-source project provides the most widely used Linux distribution?

A

The Linux distribution provided by the open-source project “GNU’s Not Unix” (GNU) and the Linux kernel is commonly referred to as GNU/Linux.

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

What is the primary function of the init process?

A

Process that initializes the user’s environment and starts system processes during the boot-up process.

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

What are the three main components of the “F/OSS” acronym in the context of Linux?

A

The acronym “F/OSS” stands for Free and Open Source Software. It emphasizes the importance of software that is both free to use and open for public collaboration and modification.

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

What is the purpose of a package manager in Linux?

A

To install, update, and manage software packages on a Linux system, simplifying the software management process.

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

Explain the concept of a “distribution” (distro) in the context of Linux.

A

Linux operating system that includes the Linux kernel, system libraries, utilities, and application software. (Different distributions may have varying default configurations and package management tools.)

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

What is the purpose of the “root” user in Linux?

A

The “root” user, also known as the superuser, has full administrative privileges on the system. It can perform any operation and access any file or directory.

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

What is the primary function of the “man” command in Linux?

A

Command that is used to display the manual pages (documentation) for various commands, helping users understand their usage and options.

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

Which command-line utility can be used to display information about the CPU architecture?

A

The arch command can be used to display information about the CPU architecture on a Linux system.

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

What is the significance of Linux distributions catering to different preferences?

A

Different distributions offer various combinations of components to meet the preferences and needs of different types of users.

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

What role do package managers play in Linux distributions?

A

Package managers simplify software installation, updates, and management by handling dependencies and providing a centralized way to handle software packages.

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

Can you explain the concept of a shell in Linux?

A

A shell is a command-line interface that allows users to interact with the operating system by executing commands. It provides a way to communicate with the system using text-based commands.

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

How can shell scripting be advantageous for Linux users?

A

Shell scripting enables users to automate tasks, create custom commands, and perform repetitive actions without manual intervention

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

Name some basic commands used for file manipulation in Linux.

A

Basic commands include “ls” (list files), “cd” (change directory), “mkdir” (make directory), and “rm” (remove file or directory).

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

What is the primary purpose of a shell in Linux?

A

The primary purpose of a shell in Linux is to provide a command-line interface through which users can interact with the operating system by entering and executing commands

17
Q

What is the significance of shell scripting in Linux?

A

Shell scripting allows users to automate tasks and create custom scripts that execute a series of commands, enabling efficient and repetitive actions.

18
Q

What is the purpose of thechmo command in Linux?

A

The chmod command is used to change file permissions, allowing users to control who can read, write, or execute a file.

19
Q

How is file ownership managed in Linux?

A

File ownership is managed by associating files with specific users and groups. The “chown” command is used to change the ownership of files

20
Q

What does the term “process” refer to in Linux?

A

A process is an executing instance of a program. Each process has its own unique process ID (PID) and runs in its own memory space.

21
Q

Describe the hierarchical structure of the Linux file system.

A

The Linux file system is organized hierarchically, with the root directory (“/”) as the top-level directory, containing subdirectories and files.

22
Q

What are file permissions in Linux?

A

File permissions determine who can read, write, and execute a file. They are represented by three sets of permissions: owner, group, and others.

23
Q

How can file permissions be changed using the “chmod” command?

A

The “chmod” command uses a numeric or symbolic notation to change file permissions. Numeric mode uses values like 777 or 644, while symbolic mode uses symbols like +, -, and =.

24
Q

What is the purpose of the “chown” command in Linux?

A

The “chown” command is used to change the ownership of a file or directory. It can change the owner and group associated with a file.

25
Q

What is a process in the context of Linux?

A

A process is an instance of a program that is currently running. Each process has a unique process ID (PID) and its own memory space

26
Q

What is systemd, and how does it differ from traditional init systems?

A

Systemd is a modern init system that manages system services, processes, and resources. It offers faster boot times, parallelization, and better management compared to traditional init systems.

27
Q

How does Linux support various hardware architectures?

A

Linux is designed to be portable and can run on various hardware architectures, including x86, ARM, and PowerPC, through architecture-specific code.

28
Q

How can hardware information be accessed in Linux?

A

Hardware information can be retrieved using commands like “lshw” or “dmidecode,” providing details about system components such as CPUs, memory, and peripherals.

29
Q

How can you retrieve hardware information on a Linux system?

A

Hardware information can be obtained using commands like “lshw,” which provides detailed information about various hardware components.