MOD E02: Unix Internals Flashcards
A system call is the fundamental interface between an application and the Linux kernel.
[TRUE /FALSE]
TRUE
What command can be utilized to intercept and record system calls?
strace
Within the following command (strace -____ test1.log ls filedir/), what option can be listed to output the contents strace reveals?
o
System Libraries are located where?
- User processes
- Hardware
- Kernel
- User Space
User Space
What were created to allow users to add code to the Linux Kernel while it is running?
- Syscall
- LKM
- PID
- PPID
LKM
(Loadable Kernel Modules)
What command can be used to show the status of currently loaded LKM’s?
lsmod
LKMs only have to be loaded when you’re actually using them. [TRUE / FALSE]
TRUE
What command will display a snapshot of the current system processes?
ps
What command can display active processes continuously, until prompt to stop?
top
What is the process call when it is still running after the GUI or application is closed?
- Process
- Zombie
- Parent Process
- Top
Zombie
The login shell is set at the time of account creation.
[TRUE / FALSE]
TRUE
The login shell is set at the time of account creation.
[TRUE / FALSE]
TRUE
In order to see what login shell the user is currently operating in, what command do you use?
- echo $pwd
- echo $0
- chsh
- echo shell
echo $0
The login shell is the second process that is executed with your user ID when you log into an interactive session.
[TRUE / FALSE]
FALSE
Login shells read environment variables from where?
- -/bin/profile
- -/var/profile
- /etc/profile
- /tmp/profile
/etc/profile