MOD E01: Linux Fund & Arch 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.

[TRUE / FALSE]

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 mode

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

User processes can access the kernel completely.

[TRUE / FALSE]

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.

[TRUE / FALSE]

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

(System calls)

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.

[TRUE / FALSE]

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

When the kernel has satisfied the program’s request, it puts the program back in User Mode.

[TRUE / FALSE]

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
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
16
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

17
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

18
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

19
Q

How many standard sections are in manual pages?

A

8

20
Q

What is the man page number displayed by default?

A

1

21
Q

What does italic or underlined text mean when listed in the man page?

A

replace with appropriate argument