Test topics (reviewed) Flashcards

1
Q

What is the main UNIX shell created?

A

Bourne Shell

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

Who created the “main” UNIX shell?

A

The Bourne shell was written by Stephen Bourne

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

There are 3 types of shell. What are they?

A
  1. Login shell
  2. Interactive shell
    1. Non-interactive shell
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is “the kernel”?

A

This is the software that acts as the brain in Linux. It controls the hardware, which is then able to interact with applications.

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

What is a bootloader?

A

Is a program that boots the operation system. Examples of boot loader and GRUB and ISOLINUX.

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

What is a command line interface?

A

Command line is and interface for typing commands on top of O.S.

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

What is a daemon?

A

is a Linux or UNIX program that runs in the background.

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

What is a systemcall?

A

Systemcall - the fundamental interface between an application and the Linux kernel (OS).

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

For systemcalls, what number is associated with read?

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

For systemcalls, what number is associated with write?

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

For systemcalls, what is 96?

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

What does 96 do?

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

Is User mode or Kernel mode “more privileged”?

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

Which mode (User / Kernel) provides unrestricted access?

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

Is the “kernel” a process?

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

In Linux, how is a “process” defined?

A
17
Q

Name the 4 common device drivers.

A
  1. Character
  2. Block
  3. Network
  4. USB Drivers
18
Q

What do device drivers do?

A
19
Q

What does a systemcall do?

A
20
Q

What does the strace command do?

A
21
Q

What does every process have?

(hint: identifier type)

A

PID

(process ID)

22
Q

In Linux, what assigns the PID to a process?

A

the Kernel

23
Q

What directory “typically” goes first; ie, if there are files being run, where is the first place those files go?

A
24
Q

What is an “alias”?

A
25
Q
A
26
Q

Where would a User/Admin go to set or change up aliases?

A
27
Q

What are environmental variables?

A
28
Q

How many common environmental variables are there?

A
29
Q

List the 4 common environmental variables.

A
30
Q

What does SFTP do?

A
31
Q

Does SFTP transfer files securely?

A
32
Q

How does SFTP ensure files are transferred securely.

A
33
Q

If using FTP, what can be used in order to also transfer files securely?

A

SSH

34
Q

What does FTP stand for?

A
35
Q

What are the 3 basic types of Linux accounts?

(KNOW THESE 3)

A
  1. Administrator
  2. Regular
  3. Service
36
Q

Out of the 3 Linux account types, which is most privileged?

A

Administrator

37
Q

Where are passwords stored?

(WE WILL KNOW IT IS ONE OF THESE TWO)
/etc/shadow
/etc/passwd

A

/etc/shadow

OR

/etc/passwd