Linux Philosophy Flashcards

(47 cards)

1
Q

What is the Linux kernel?

A

The core component of the Linux operating system that manages hardware and system resources.

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

True or False: Linux is an open-source operating system.

A

True

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

Fill in the blank: The Linux operating system is based on the __________ architecture.

A

Unix

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

What command is used to list files in a directory in Linux?

A

ls

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

Which command is used to change the current directory in Linux?

A

cd

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

What does the ‘chmod’ command do?

A

Changes the permissions of a file or directory.

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

True or False: Linux can only run on personal computers.

A

False

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

What is a distribution in the context of Linux?

A

A version of Linux that includes the kernel and additional software.

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

What command is used to copy files in Linux?

A

cp

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

Which file system hierarchy standard does Linux follow?

A

Filesystem Hierarchy Standard (FHS)

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

What does the ‘mv’ command do?

A

Moves or renames files and directories.

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

What is the purpose of the ‘sudo’ command?

A

Allows a permitted user to execute a command as the superuser or another user.

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

Fill in the blank: The main configuration file for the GRUB bootloader is __________.

A

grub.cfg

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

What does the ‘man’ command do?

A

Displays the manual page for a command.

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

True or False: Linux supports multi-user functionality.

A

True

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

What is a shell in Linux?

A

A command-line interface that allows users to interact with the operating system.

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

What is the default shell for most Linux distributions?

A

Bash (Bourne Again SHell)

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

Which command is used to remove files in Linux?

A

rm

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

What does the ‘ps’ command do?

A

Displays information about running processes.

20
Q

Fill in the blank: The __________ directory contains user home directories in Linux.

21
Q

What is the role of the init system in Linux?

A

To initialize the system and manage system processes.

22
Q

True or False: Linux does not support graphical user interfaces.

23
Q

What is the purpose of the ‘grep’ command?

A

Searches for patterns in files.

24
Q

What does the ‘df’ command display?

A

Disk space usage of file systems.

25
What is the significance of the /etc directory?
It contains configuration files for the system.
26
Which command is used to display the current working directory?
pwd
27
Fill in the blank: The __________ command is used to view the contents of a file.
cat
28
What does the 'find' command do?
Searches for files in a directory hierarchy.
29
True or False: Linux supports scripting with shell scripts.
True
30
What is the purpose of the 'echo' command?
Displays a line of text or variable value.
31
What does the 'top' command do?
Displays real-time information about running processes.
32
Fill in the blank: The __________ file contains user account information.
/etc/passwd
33
What is a package manager in Linux?
A tool used to install, update, and manage software packages.
34
What does the 'tar' command do?
Archives files into a single file.
35
True or False: Linux uses a monolithic kernel.
True
36
What is the role of the Linux File System?
To manage how data is stored and retrieved.
37
What does the 'service' command do?
Manages system services.
38
Fill in the blank: The __________ command is used to check disk usage.
du
39
What is the purpose of the 'chmod' command?
To change file permissions.
40
What does the 'wget' command do?
Downloads files from the web.
41
True or False: Linux distributions can be both desktop and server-oriented.
True
42
What is a daemon in Linux?
A background process that runs without user interaction.
43
What file contains the Linux kernel parameters?
/proc/cmdline
44
Fill in the blank: The __________ command is used to view system logs.
journalctl
45
What does the 'ssh' command do?
Establishes a secure shell connection to a remote system.
46
What is the purpose of the 'uname' command?
Displays system information.
47
True or False: Linux can be run on mobile devices.
True