Final Comprehensive Exam
section 14.8.1 Which of the following options for the useradd command allows root to specify supplementary groups the user will be a member of?
-G
section 14.8.1 Which of the following options for the useradd command allows root to specify the UID to be associated with the account?
-u
section 8.3 A pipe allows you to...
...send the output of one command to another
section 12.5 A network packet contains ...
...the IP address of the destination machine ...the IP address of the source machine
section 14.13 If a user is deleted, the files and directories that the user owned...
...will show a UID as the owner, but not user name
section 6.3 The top-level directory on a Linux system is represented as:
/
section 13.3 Which files contain user account information?
/etc/passwd /etc/shadow
section 10.3 Which of the following are valid CPU types for Intel-based platforms?
32 bit 64 bit
section 6.4.2 Hidden files are files that begin with what character?
A period (.)
section 1.3 Unix is
An operating system A trademark
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
section 14.8.1 On a system that does not use UPG, the useradd command will also create a user group. For example, user "bob", group "bob".
False
section 15.7.2 Only one set (user, group, other) of permission can be changed at once using the symbolic method.
False
section 3.3 A server is likely to be running in graphical mode.
False
section 5.3.6.3 The whatis command is the same as man -w.
False
section 2.3.1 The Samba application is a:
File Server
section 1.3.3 Source code refers to:
Human readable version of computer software
section 2.3.2 If you wanted to create and print an invoice, what could you use?
LibreOffice
section 1.3.1 One of the jobs of the kernel is to:
Manage the systems resources
section 3.5 Which of the following are traits of a multiuser operating system?
Many users can log in simultaneously with a unique account Resources are shared between users An administrative user gets a dedicated CPU
section 4.7 Which environment variable contains a list of directories that is searched for commands to execute?
PATH
section 11.3.2 What does the acronym RPM mean?
RPM Package Management
section 7.1 Compression on a file works by:
Removing redundant information
section 9.3 A file begins with #!/bin/csh. This means:
Running the script will invoke /bin/csh to interpret the rest of the file
section 8.4.3 Error messages generated by commands are sent where by default?
STDERR
section 2.3.1 Which of the following pieces of software deal with file sharing?
Samba Netatalk NFS
section 13.3.2 Which user can view the /etc/shadow file?
The root user
section 10.3 64 bit platforms can access more memory than 32 bit platforms.
True
section 11.10 When you execute the dmesg command, the system displays messages that are generated by the kernel.
True
section 13.1 Each user is a member of their own private group, of which they are the only member.
True
section 16.9 The /var directory has files that change over time.
True
section 4.11.2 A pair of single quotes ( ' ) will prevent the shell from interpreting any metacharacter.
True
section 5.3.7 The command man -k is the same as the command apropos.
True
section 8.4.2 A successful command will print output to STDOUT.
True
section 7.3 Lossy compression:
Usually results better compression than lossless Is often used with images Sacrifices some quality
section 2.3 Which of the following are examples of desktop software?
Web browser Music player
section 2.3.1 If you wanted to set up a blog, which software would be most helpful?
WordPress
section 3.3 Which of the following is true about graphical mode?
You access this mode by logging into a graphical display You have menus and tools to help you find what you are looking for After login, you are provided with a command prompt
section 6.3.5 Is the following path absolute or relative? /etc/ppp
absolute
section 15.7.3 Which of the following commands sets "other" permissions on "file" to r-x?
chmod 775 file
section 15.7.2 Which of the following commands set "other" permissions on "file" to r-x?
chmod o=rx file
section 13.3.4 Which command will display the UID, GID and groups your current user belongs to?
id
section 8.4.5 Which of the following commands will direct error messages to the file error.log?
ls /root 2> error.log ls /root &> error.log
section 15.7.2 Which of the following are methods for setting permissions using the chmod command?
octal symbolic
section 16.7 The "sticky bit" permission...
prevents others from removing files they don't own from a common directory
section 11.3.2 Which of the following are package management commands for distributions with software distributed in files ending in ".rpm"?
rpm and yum
section 14.8.1 UIDs 1-500 are usually reserved for what kind of users?
system users
section 3.4 In graphical mode, you can get to a shell by running which applications?
terminal xterm
section 13.8 Which command will display the users that are currently logged in to the system?
who