Linux Flashcards

(31 cards)

1
Q

What is Linux?

A

Linux is an open-source, Unix-like operating system kernel used to build OS distributions like Ubuntu, Kali, and CentOS.

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

Who created Linux and when?

A

Linus Torvalds created Linux in 1991.

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

What inspired the creation of Linux?

A

Linux was inspired by MINIX, a small Unix-based OS used for educational purposes.

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

What was the first Linux kernel version?

A

Version 0.01 released in 1991.

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

What does open-source mean in Linux?

A

Anyone can view, modify, and distribute the Linux source code.

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

What is the GPL license?

A

The GNU General Public License ensures software freedom and requires derived works to remain open-source.

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

Name one key difference between Linux and Windows.

A

Linux is open-source; Windows is proprietary.

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

How does Linux compare to macOS in terms of customization?

A

Linux offers greater customization than macOS.

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

Which OS is best for penetration testing?

A

Linux (especially Kali Linux).

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

What is a Linux distribution (distro)?

A

A complete OS built around the Linux kernel with tools and software packages.

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

Name a beginner-friendly Linux distribution.

A

Ubuntu.

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

Which distro is used for ethical hacking and penetration testing?

A

Kali Linux.

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

Which distro is common in enterprise environments?

A

CentOS or Red Hat Enterprise Linux (RHEL).

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

Which distro focuses on stability and is used in servers?

A

Debian.

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

Is Linux a full operating system?

A

No, Linux is the kernel; the full OS includes the kernel plus system tools and libraries

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

What is the Linux kernel?

A

It’s the core of the OS, managing hardware, processes, memory, and system calls.

17
Q

What are some common uses of Linux today?

A

Servers, cybersecurity, mobile devices (Android), embedded systems, and supercomputers.

18
Q

Is Linux based on Unix?

A

No, but it’s Unix-like, following Unix principles and design.

19
Q

What’s the key difference between Unix and Linux?

A

Unix is mostly proprietary; Linux is open-source.

20
Q

Why do developers prefer Linux?

A

Because of its flexibility, powerful command line, package managers, and development tools.

21
Q

What programming languages are commonly used in Linux development?

A

C (for kernel), Python, Shell scripting, Perl, and Go.

22
Q

What is the first step in the Linux boot process?

A

BIOS/UEFI loads the bootloader (like GRUB).

23
Q

What happens after the kernel is loaded?

A

The kernel initializes the system and runs the init process or system.

24
Q

What is a shell in Linux?

A

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

25
Name two common Linux shells.
Bash (Bourne Again Shell) and Zsh (Z Shell).
26
What are package managers in Linux?
Tools to install, update, and remove software.
27
Name two package managers for Linux.
APT (for Debian-based distros), YUM/DNF (for Red Hat-based distros).
28
What is the root directory in Linux?
/ — the top-level directory in Linux.
29
Where are user files typically stored?
/home/username
30
What is /etc used for?
System configuration files.
31