Block 2 Linux Flashcards

1
Q

What is Unix?

Linux Components

A

It is the generic name for all UNIX-like OS’s

Linux Components

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

What is UNIX?

Linux Components

A

The commercial trademark owned by Bell Labs/AT&T

Linux Components

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

What is a characteristic about Linux that makes it dissimilar to Windows when it comes to its naming convention?

Linux Components

A

Linux is case sensitive

Linux Components

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

What are some characteristics of the shell? (Name 2)

Linux Components

A

-Acts as a command interpreter
-It is how the user interacts with the OS
-Performs I/O redirection
-Manages the environment
-Performs variable and filename substitution

Linux Components

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

What is the core of the OS?

Linux Components

A

the Kernel

Linux Components

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

What is the flow of data that the user inputs into the system and back out?

Linux Components

A

User<->Shell<->Kernel<->Harware

Linux Components

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

What are some common shells that are used in Linux?

Linux Components

A

-Bourne Shell (bsh)
-Bourne Again Shell (bash)
-Korn Shell (ksh)
-C Shell (csh)
-Almquist Shell (ash)
-Z Shell (zsh)

Linux Components

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

Name 3 functions of the Kernel in Linux

Linux Components

A

-Manages creation, scheduling, and termination of processes
-Manages allocation and deallocation of memory
-Manages the filesystem
-Performs error handling
-Manages system I/O

Linux Components

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

What is the Linux Boot Process?

Linux Components

A

BIOS to GRUB 1 to GRUB 2 to Kernel

Linux Components

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

What does the BIOS task do in the Linux Boot Process?

Linux Components

A

POST, an initial hardware setup and configuration, and appropriate boot device is selected and the boot loader is executed

Linux Components

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

What does the Grand Unified Bootloader (GRUB) Stage 1 do in the Linux Boot Process?

Linux Components

A

It’s sole purpose is to locate and load the second stage of the boot loader into memory

Linux Components

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

What does the GRUB Stage 2 do in the Linux Boot Process?

Linux Components

A

Loads initial RAM disk into memory known as initrd and loads kernel from the disk into memory

Linux Components

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

What is the Linux Kernel phase of the Linux Boot Process?

Linux Components

A

Initializes/configures the memory/hardware and executes the /sbin/init

Linux Components

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

What is the piece of code that can be added to the kernel at runtime?

Linux Components

A

Modules

Linux Components

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

What do Loadable Kernel Modules (LKM) do?

Linux Components

A

Add and remove functionality to/from the kernel while the system is up and running

Linux Components

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

What allows programs to communicate with the system’s hardware and peripheral devices?

Linux Components

A

Device Drivers

Linux Components

17
Q

How is the directory hierarchy formatted?

Linux File Structure

A

Root then Current then Parent then Child

Linux File Structure

18
Q

Why is the root user so powerful?

Linux File Structure

A

User root has total control of the system

Linux File Structure

19
Q

What is the root user’s home directory?

Linux File Structure

A

/root

Linux File Structure

20
Q

What is the top of the directory structure?

Linux File Structure

A

/

Linux File Structure