MOD E01: Linux Fund & Arch Flashcards
For Bourne-Shell, what character is the default prompt?
- %
- *
- $
- !
$
Which of the following is not considered a Shell?
- Bourne
- C
- Daemon
- Posix
Daemon
An Interactive Shell reads commands from user input.
[TRUE / FALSE]
TRUE
Out of the following, what is not considered a shell type?
- Bourne
- Non-Interactive
- Interactive
- Login
Bourne
What system call is denoted by the number 99?
sysinfo
What system call traces another process’s execution?
ptrace
What mode has the least amount of privileges?
User mode
User processes can access the kernel completely.
[TRUE / FALSE]
FALSE
A program usually executes in Kernel Mode and switches to User Mode only when requesting a service provided by the kernel.
[TRUE / FALSE]
FALSE
The process/kernel model assumes that processes that require a kernel service use specific programming constructs called:
- Sysinfo
- Syscall
- sandbox
- Kernel Development
Syscall
(System calls)
System Calls are the only way through which a process can go into kernel mode from user mode.
[TRUE / FALSE]
TRUE
______ simplifies programming by acting as a translator between a device and the applications or operating systems that use it.
- Kernel
- syscalls
- Buses
- Device Drivers
Device Drivers
What command lists all PCI buses in a system with a description along with devices connected to them?
lspci -v
When the kernel has satisfied the program’s request, it puts the program back in User Mode.
[TRUE / FALSE]
TRUE
User Mode operates under the principle of what?
- Least Privilege
- Advanced Privilege
- Administrator
- User
Least Privilege