Question 1
Question
1. One of the jobs of the kernel is to:
Answer
-
• Manage the system’s resources
-
• Turn source code into machine code
-
• Load the operating system after the computer is turned on
-
• Transfer mail from one machine to another
Question 2
Question 3
Question
3. Linux is written in:
Answer
-
• C
-
• .NET
-
• C++
-
• Java
-
• Perl
Question 4
Question
4. Source code refers to:
Answer
-
• The version of a program that the computer runs on the CPU
-
• The license that dictates how you may use and share the software
-
• The interface that software uses to talk to the kernel
-
• A human readable version of computer software
Question 5
Question
5. What is the standard option to provide a command line program to view its documentation?
Answer
-
• –info
-
• –doc
-
• –help
-
• -h
Question 6
Question
6. The command man -k is the same as the command apropos.
True or False?
Question 7
Question
7. The whatis command is the same as man -w.
Question 8
Question
8. The directory where additional documentation for software packages most likely can be found is:
Answer
-
• /var/lib/doc
-
• /usr/software/doc
-
• /usr/share/doc
-
• /var/share/doc
Question 9
Question
9. Hidden files are files that begin with what character?
Answer
-
• A plus (+)
-
• A dash (-)
-
• A period (.)
-
• An asterisk (*)
Question 10
Question
10. What option for the ls command will display all files, including hidden files?
Question 11
Question
11. The top-level directory on a Linux system is represented as:
Question 12
Question
12. Is the following path absolute or relative?
/etc/ppp
Question 13
Question
13. Is the following path absolute or relative?
sysadmin/Documents
Question 14
Question
14. Compression on a file works by:
Answer
-
• Removing the high order bit from each byte
-
• Consolidating multiple files into one
-
• Removing redundant information
-
• Storing most of the data on removable media and just leaving a pointer
-
• Eliminating gaps within the file
Question 15
Question
15. In general, for which of the following would you want to use lossless compression?
Answer
-
• An mp3 audio file
-
• A movie
-
• A log file
-
• A JPEG image
-
• An encrypted email
Question 16
Question
16. Lossy compression:
(choose three)
Answer
-
• Is often used with documents
-
• Decompresses to an identical version as the original
-
• Sacrifices some quality
-
• Usually results better compression than lossless
-
• Is often used with images
Question 17
Question
17. You type gzip myfile.tar. What happens?
(choose two)
Answer
-
• myfile.tar.gz holds a compressed version of myfile.tar
-
• An error; you forgot to pass the name of the output file
-
• An error; you forgot to specify the file with –f
-
• myfile.tar is unarchived into the current directory
-
• myfile.tar is removed
Question 18
Question
18. Error messages generated by commands are sent where by default?
Answer
-
• STDIN
-
• Log files
-
• STDERR
-
• STDOUT
Question 19
Question
19. A successful command will print output to STDOUT.
True or False?
Question 20
Question
20. Which of the following commands will direct error messages to the file, error.log?
(choose one)
Answer
-
• ls /root > error.log
-
• ls /root >> error.log
-
• ls /root 2> error.log
-
• ls /root $> error.log