Professional Documents
Culture Documents
3
Unix is
An operating system
A trademark
CORRECT - See section 1.3.3
Linux is written in:
C
CORRECT - See section 1.3.3
Source code refers to:
Human readable version of computer software
WRONG - See section 5.5.1
What is the standard option to provide a command line program to view its docume
ntation?
--info
CORRECT - See section 5.3.7
The command man -k is the same as the command apropos.
True
CORRECT - See section 5.5.2
The directory where additional documentation for software packages most likely c
an be found is:
/usr/share/doc
CORRECT - See section 6.4.2
Hidden files are files that begin with what character?
A period (.)
CORRECT - See section 6.3
The top-level directory on a Linux system is represented as:
/
CORRECT - See section 7.1
Compression on a file works by:
Removing redundant information
CORRECT - See section 7.3
In general, which of the following would you want to use lossless compression?
A log file
CORRECT - See section 7.3
Lossy compression:
Usually results better compression than lossless
Is often used with images
Sacrifices some quality
WRONG - See section 8.4.5
Which of the following commands will direct error messages to the file error.log
?
ls /root > error.log
ls /root 2> error.log
CORRECT - See section 8.3
A pipe allows you to...
...send the output of one command to another
CORRECT - See section 8.4.5
Channel 2 is:
STDERR
WRONG - See section 9.3
A file begins with #!/bin/csh. This means:
C Shell compatibility mode is enabled
CORRECT - See section 9.4
Which are appropriate editors for writing shell scripts?
nano
vi
CORRECT - See section 9.5.2
What does this shell script do?
FOO=/tmp/foo
if [ ! d $FOO ]; then
mkdir $FOO
fi
Creates /tmp/foo if it does not exist
CORRECT - See section 10.3
Which of the following are valid CPU types for Intel-based platforms?
32 bit
64 bit
CORRECT - See section 11.10
When you execute the dmesg command, the system displays messages that are genera
ted by the kernel.
True
CORRECT - See section 11.3.1
Which of the following are package management commands for distributions with so
ftware distributed in files ending in ".deb"?
dpkg
aptitude
apt-get
CORRECT - See section 12.3
Which of the following would be considered a host?
A printer attached to the network via an IP address
CORRECT - See section 12.3
A service is...
...a feature provided by one computer to another
CORRECT - See section 12.4
Only servers have hostnames.
False
CORRECT - See section 13.3.2
Which user can view the /etc/shadow file?
The root user
CORRECT - See section 13.3.4
Which command will display the UID, GID and groups your current user belongs to?
id
WRONG - See section 13.1
Each user is a member of their own private group, of which they are the only mem
ber.
False
CORRECT - See section 13.8
Which command will display the users that are currently logged in to the system?
who