Computer Experts
2 out of 2 points
|
|
|
|||||||||
|
|
What file in the etc/ directory contains user’s hashed password? |
|
|
|
||||||
|
|
|
|
|
|
· Question 20
1 out of 2 points
|
|
|
|||||||||
|
|
What file and file-field are read by the finger command? |
|
|
|
||||||
|
|
|
|
|
|
· Question 21
0 out of 2 points
|
|
|
|||||||||
|
|
When a parent process dies, what happens to any child processes that are still running? |
|
|
|
||||||
|
|
|
|
|
|
· Question 22
1 out of 2 points
|
|
|
|||||||||
|
|
What is the effect of the command: $ killall root (Where root is the root account of the system) |
|
|
|
||||||
|
|
|
|
|
|
· Question 23
2 out of 2 points
|
|
|
|||||||||
|
|
List 4 shortcomings of root accounts. |
|
|
|
||||||
|
|
|
|
|
|
· Question 24
1 out of 2 points
|
|
|
|||||||||
|
|
Write a BASH command that would force the OS into single-user mode. |
|
|
|
||||||
|
|
|
|
|
|
· Question 25
0 out of 2 points
|
|
|
|||||||||
|
|
Explain when it would be necessary to use the non-rewinding interface file of any backup device. |
|
|
|
||||||
|
|
|
|
|
|
· Question 26
2 out of 2 points
|
|
|
|||||||||
|
|
What BASH shell command can send any signal level to a running process? |
|
|
|
||||||
|
|
|
|
|
|
· Question 27
2 out of 2 points
|
|
|
|||||||||
|
|
Which two inter-process signals cannot be caught or blocked? |
|
|
|
||||||
|
|
|
|
|
|
· Question 28
2 out of 2 points
|
|
|
|||||||||
|
|
What BASH shell utility allows you to monitor CPU and memory usage? |
|
|
|
||||||
|
|
|
|
|
|
· Question 29
0 out of 2 points
|
|
|
|||||||||
|
|
In the file permission listing drwxr-xr-x, what is the file type? |
|
|
|
||||||
|
|
|
|
|
|
· Question 30
0 out of 2 points
|
|
|
|||||||||
|
|
In the file permission listing –rwsr--r--, what does ‘s’ signify? |
|
|
|
||||||
|
|
|
|
|
|
· Question 31
2 out of 12 points
|
|
|
|||||||||
|
|
Create a BASH script that performs file system cleanup by finding and removing all files in and below your home directory that have a (.core) or (.tmp) extension. |
|
|
|
||||||
|
|
|
|
|
|
· Question 32
0 out of 3 points
|
|
|
|||||||||
|
|
Show the crontab file entry that would run the script from question 1, every Monday, Wednesday, and Friday at 5:30 AM. Assume the name of the script is fileCleanup.sh and that it is located in the ~/script directory. |
|
|
|
||||||
|
|
|
|
|
|
· Question 33
2 out of 12 points
|
|
|
|||||||||
|
|
Create another script that asks a user to enter a search term from the console & then uses that term with grep to search all log files in the dev/logs directory for matching lines. |
|
|
|
||||||
|
|
|
|
|
|
· Question 34
0 out of 4 points
|
|
|
|||||||||
|
|
What regular expression would you type into the script from question 33 if you were looking for kernel errors in the category or kern.alert, kern.crit, or kern.emerg ? |
|
|
|
||||||
|
|
|
|
|
|
· Question 35
0 out of 4 points
|
|
|
|||||||||
|
|
Write a regular expression that would find date fields of the form: mm-dd-yyyy and where the field is delineated with either tabs or spaces. |
|
|
|
||||||
|
|
|
|
|
|
· Question 36
10 out of 10 points
|
|
|
|||||||||
|
|
Compare and contrast the use of conventional hard-drives as a primary storage medium against the newer Solid State Devices, (SSDs). |
|
|
|
||||||
|
|
|
|
|
|
· Question 37
5 out of 10 points
|
|
|
|||||||||
|
|
Describe the part of the boot process that locates and mounts an Operating System to main memory. |
|
|
|
||||||
|
|
|
|
|
|