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?

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?

19
Q

What does a systemcall do?

20
Q

What does the strace command do?

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?

24
Q

What is an “alias”?

25
26
Where would a User/Admin go to set or change up aliases?
27
What are environmental variables?
28
How many common environmental variables are there?
29
List the 4 common environmental variables.
30
What does SFTP do?
31
Does SFTP transfer files securely?
32
How does SFTP ensure files are transferred securely.
33
If using FTP, what can be used in order to also transfer files securely?
SSH
34
What does FTP stand for?
35
What are the 3 basic **types** of Linux accounts? (KNOW THESE 3)
1. Administrator 2. Regular 3. Service
36
Out of the 3 Linux account types, which is most privileged?
Administrator
37
Where are passwords stored? (WE WILL KNOW IT IS ONE OF THESE TWO) /etc/shadow /etc/passwd
/etc/shadow OR /etc/passwd