E01: Linux Fundamentals & Architecture PE Flashcards

1
Q

For Bourne-Shell, what character is the default prompt?

%

*

$

!

A

$

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

Which of the following is not considered a Shell?

  • Bourne
  • C
  • Daemon
  • Posix
A

Daemon

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

An Interactive Shell reads commands from user input

T/F

A

True

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

Out of the following, what is not considered a shell type

  • Bourne
  • Non-Interactive
  • Interactive
  • Login
A

Bourne

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

What system call is denoted by the number 99?

A

sysinfo

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

What system call traces another process’s execution?

A

ptrace

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

What mode has the least amount of privileges?

A

User

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

User processes can access the kernel completely

T/F

A

False

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

A program usually executes in Kernel Mode and switches to User Mode only when requesting a service provided by the kernel.

T/F

A

False

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

The process/kernel model assumes that processes that require a kernel service use specific programming constructs called:

  • Sysinfo
  • Syscall
  • Sandbox
  • Kernel Development
A

Syscall

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

System Calls are the only way through which a process can go into kernel mode from user mode.

T/F

A

True

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

___________ simplifies programming by acting as a translator between a device and the applications or operating systems that use it.

  • Kernel
  • syscalls
  • Buses
  • Device Drivers
A

Device Drivers

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

What command lists all PCI buses in a system with a description along with devices connected to them?

A

lspci -v

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

User Mode operates under the principle of what?

  • Least Privilege
  • Advanced Privilege
  • Administrator
  • User
A

Least Privilege

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

The man -k (or man –apropos) command

  • is not a real command
  • searches the source of 100% of the text
  • outputs the man page to a .dvi file
  • searches the short command description for key words
A

searches the short command description for key words

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

The man -K (Uppercase) (Global Apropos)

  • is not a real command
  • searches the source of 100% of the command files
  • outputs the man page to a .dvi file
  • searches the short command description for key words
A

searches the source of 100% of the command files

17
Q

The man -l (lowercase L) command

  • is not a real command
  • searches the source of 100% of the command files
  • outputs the man page to a .dvi file
  • searches the short command description for key words
A

outputs the man page to a .dvi file

18
Q

How many standard sections are in manual pages?

A

8

19
Q

What is the man page number displayed by default?

A

1

20
Q

In man what does italic text inform you to do?

A

replace with appropriate argument