Correct Answers (Already Graded
A+)
What command will show all bash variables? - Answer- set | more
What are the two commands that are used to: Show attributes, and change attributes? -
Answer- Lsaddr - shows attributes
Chaddr - changes attributes
-a: append only
-i: immutable only
-e: extent format
What is Run Level 0? - Answer- Halt
What is Run Level 1? - Answer- Single-User mode
What is Run Level 2? - Answer- Multiuser, no network support
What is Run Level 3? - Answer- Multiuser, network support, headless system, usually
default (or 5 is)
What is Run Level 4? - Answer- Not Used, experimental
What is Run Level 5? - Answer- GUI, usually default (or 3 is)
What is Run Level 6? - Answer- reboot
What does the bash IF conditionals '-a, -e' check? - Answer- If the file exists.
What does the bash IF conditional '-x' test? - Answer- If the file is executable by you.
What does the bash IF conditional '-d' test? - Answer- If the file is a directory
What is a Buffer Overflow? - Answer- A Segmentation Fault - Illegally reading or writing
to pre-allocated memory space.
What does the BASH shell have that SH does not? - Answer- History, Tab Completion,
and Environmental Variables.
, Where are the standard logs stored? - Answer- /var/log
What is the 1st step in the Linux Boot Process? - Answer- 'Big Mike Got Killed In
Russia'
1. BIOS/POST
What is the 2nd step in the Linux Boot Process? - Answer- 'Big Mike Got Killed In
Russia'
2. MBR
What is the 3rd step in the Linux Boot Process? - Answer- 'Big Mike Got Killed In
Russia'
3. Grub
What is the 4th step in the Linux Boot Process? - Answer- 'Big Mike Got Killed In
Russia'
4. Kernel
What is the 5th step in the Linux Boot Process? - Answer- 'Big Mike Got Killed In
Russia'
5. Init
What is the 6th step in the Linux Boot Process? - Answer- 'Big Mike Got Killed In
Russia'
6. Run Levels
What timestamps will 'touch' change? - Answer- Access and Modify
Inodes are stored in what 2 places? - Answer- Parition 1 and Directory
How do i make a file executable only by the User and others? - Answer- chmod uo+x
file.txt
What are the first 446 bytes of the MBR? - Answer- Bootstrap/Bootloader
How many partitions are in a regular MBR? And where do they begin? - Answer- 4,
They begin after the bootstrap.
How many bytes are in each partition in the MBR? - Answer- 16
What does the magic number check for in the MBR? - Answer- If anything is corrupted.
Where does the kernel meet the primary partition? - Answer- RAM
What is the first User process? And what is its PID? - Answer- /sbin/init, PID 1