Linux 1-4, 7-11
The database for the locate command can be updated manually by using the updatedb command. True False
True
In Linux, the core component of the GUI is known as: GNOME KDE X Windows Red Hat
X Windows
Using wildcard metacharacters, how can one indicate a number is either 1, 2, 3, or 4? 1-4 [1-4] [1234] [1,2,3,4]
[1-4]
The ability to extract, manipulate, and format text using pattern action statements belongs to which command below? sed grep awk nl
awk
In what mode does the vi editor open by default? append mode insert mode overview mode command mode
command mode
In vi, using command mode, what series of key presses below will cause the line on which the cursor is on to be deleted? X dd yw d
dd
What permission (when applied to a directory) allows a user to enter the directory and work with directory contents? read write execute sticky bit
execute
What construct is intended for use in processing a list of objects, such as files, directories, users, printers, and so on? for while case switch
for
What is the default target on a system with a GUI installed? multi-user.target single-user.target graphical.target gui.target
graphical.target
What can be used on a Linux system to trace the lineage of each child process? process ID parent process ID execution order ID process fork ID
parent process ID
What command below is used to display the lineage of a process by tracing its PPIDs until the init daemon? psbranch pstree psparent pshead
pstree
To display a text file in reverse order, what command should be used? cat tac tee sed
tac
In order to quickly create an empty file, what command can be used? vim file1 touch file1 echo file1 create file1
touch file1
In Fedora 20, what terminal is used for graphical login? tty0 tty1 tty2 tty4
tty1
The Linux kernel exists as a file named: vmlinuz vmlinux kernel.0 krn.linux
vmlinuz
The contents of a certain variable in memory can be viewed using which metacharacter below in combination with the echo command? $ * & #
$
What metacharacter indicates background command execution? @ ^ & !
&
Select the regular expression metacharacter that matches 0 or more occurrences of the previous character. * ? + ^
*
In a file's mode, a permission that is unavailable is represented by what character? * + ? -
-
Which switch below can be added to the ls command to show a list of files and their type? -T -L -F -l
-F
In order to display a list of at job IDs, what option can be specified to the at command? -d -u -a -l
-l
The Filesystem Hierarchy Standard specifies what directory as containing the Linux kernel and the boot loader configuration files? /load /bin /boot /mnt
/boot
Under what directory is the Linux kernel stored? / /boot /root /krnl
/boot
The Filesystem Hierarchy Standard specifies what directory as the root user's home directory? /bin /home/root /boot /root
/root
Under the root directory in Linux, which directory contains system commands and utilities? /opt /var /boot /usr
/usr
What metacharacter can be used to issue two commands to be run in consecutive order, without piping or redirecting output? \ & ; |
;
The standard output and standard error from a terminal screen within the BASH shell can be redirected to a file on the filesystem using what shell metacharacter, followed by the absolute or relative pathname of the file? # < > |
>
By default, Fedora 20 allows the root user to log into the GNOME desktop. True False
False
Fedora 20 makes use of the XFree86 implementation of X Windows. True False
False
It is acceptable to use shell metacharacters when naming files. True False
False
On closed-source operating systems, hot fixes for software bugs are deployed very quickly. True or False?
False
Pressing the Esc key at the prompt while using the more command displays a help screen. True False
False
Shell scripts do not require the execute permission in order to be run the same way binary programs are run. True False
False
The /etc/rc.d/rc 5 script only executes files that start with S in the /etc/rc.d/rc5.d/ directory. True False
False
The command strings /bin/echo displays the raw binary characters inside the /bin/echo binary executable program. True False
False
The rmdir command automatically removes a directory and all of its subdirectories and files. True False
False
The term hacker refers to someone who illegally uses computers for personal benefit or to cause damage. True False
False
When a user interacts with his computer, he interacts directly with the kernel of the computer's operating system. True False
False
The iptables software on Linux is an example of what kind of software? Routing Anti-virus Firewall Proxy
Firewall
What software type is software that is distributed free of charge, but the source code is not available? Open source software Shareware Close source software Freeware
Freeware
A swap partition contains a filesystem. True False
False
What number represents the stdin file descriptor? 0 1 2 3
0
In Linux, what runlevel is also known as the multiuser mode? 1 2 3 4
2
What is the recommended size for the /home directory? 100 MB 200 MB 500 MB 1000 MB
200 MB
Select the mode below that corresponds to setting r-x: 1 2 5 6
5
When using the chmod command, the mode rwx can be represented by which number? 0 1 7 8
7
Dennis Ritchie invented what programming language, which was then used to rewrite the UNIX operating system? PERL Python Pascal C
C
Which of the following key combinations, commonly used in the vi editor command mode, displays current line statistics? $ x Ctrl+g P
Ctrl+g
The LISP artificial intelligence programming language can be used with which text editor below? Kedit editor Joe editor Emacs editor Nedit editor
Emacs editor
What service provides a method for the efficient transfer of files over the Internet? FTP HTML SMTP Telnet
FTP
What stipulates that the source code of any software published under its license must be freely available. GNU Public License Free Software Foundation Freeware Artistic License
GNU Public License
When viewing the version number for a Linux kernel, what number indicates the stability of the kernel? Major # Revision # Minor # Production Kernel #
Minor
When using command-line terminal, specific letters that start with a dash ("-") and appear after command names are considered to be: Arguments Options Keywords Metacharacters
Options
What Linux distribution is the most commonly used distribution within organizations today? Mandrake SuSE Debian Red Hat
Red Hat
Which kill signal terminates a process by taking the process information in memory and saving it to a file called core on the hard disk in the current working directory? SIGINT SIGKILL SIGQUIT SIGTERM
SIGQUIT
At minimum, Linux typically requires only two partitions to be created: a partition that is mounted to the root directory, and a partition for virtual memory. True False
True
If the /etc/at.allow and /etc/at.deny files do not exist, only the root user is allowed to schedule tasks using the at daemon. True False
True
Linux uses a logical directory tree to organize files into different folders. True False
True
Much like the SysV init daemon, the Systemd init daemon is used to start daemons during system initialization as well as start and stop daemons after system initialization. True False
True
Open Source Software (OSS) is freely developed and continuously improved by a large community of software developers True False
True
You can use wildcard metacharacters with the find command. True False
True
The default BASH shell prompt is set by an environment variable. What command can be used to view this variable? ls $PWD echo #PWD echo $PS1 ls #PS1
echo $PS1
A list of all exported environment and user-defined variables in a shell can be viewed with what command below? env set setenv getenv
env
After a shell is no longer needed, what command can be given to exit the shell? exit stop reset quit
exit
After a background process has been started, what command below can be used to move it to the foreground? fg fgnd fgd b2f
fg
Select the command below that can be used to provide a long listing for each file in a directory: ls -T ls -L ls -F ls -l
ls -l
The apropos list command produces the same results as which command below? man -j list man -k list man -l list man -m list
man -k list
Select the utility below that when run will start and perform a thorough check of RAM for hardware errors: memcheck68 memtest86 fixram fsck
memtest86
When viewing the version number for a Linux kernel, what number indicates the stability of the kernel? major number revision number minor number production kernel number
minor number
What command can be issued to confirm what directory you are in at a command line prompt? dir pwd whereami ld
pwd
What command below takes a list of arguments specifying the absolute or relative pathnames of files to remove? del rm remove delete
rm
After logging into a terminal, a user will receive an interface known as which option below? processor user interface swap memory shell
shell
What section of a filesystem contains information about the filesystem in general? inode table inode data blocks superblock
superblock
What command can be used to display the last five lines of a text file? end -5 head -5 stop -5 tail -5
tail -5
An archive of files that usually contain scripts that install the software contents to the correct location on the system is referred to as a: router package manager DBMS tarball
tarball
The section of an inode that stores permissions is referred to as what? the tail of the file the head of the file the mode of the file the accessor of the file
the mode of the file
What is the minimum number of user accounts that must be created at install time? one two three four
two
Which command can be used to count the number lines, words, and characters in a file? pr nl tr wc
wc
Which character(s) below represent extended regular expression metacharacter(s)? . [...] ^ {}
{}
What option, when added to the rm command, is commonly referred to as the -resume option? -d -r -f -i
-r
In Fedora 20, where are user configured settings for Xorg stored? /etc/X11/xorg.conf /etc/X11/xorg.conf.d/ /etc/inittab /etc/X11.conf
/etc/X11/xorg.conf.d/
At the vi command mode prompt, what key combination below will force a quit from the vi editor without saving changes? :q :q! :exit :!
:q!
Which type of open source license ensures that the source code of a program is freely available while also allowing the original author of the source code some control over the changes made to it? Freeware Shareware GPL Artistic
Artistic
The GNU General Public License (GPL) was developed by which organization? Free Software Foundation (FSF) Electronic Frontier Foundation (EFF) Microsoft Sun Microsystems
Free Software Foundation (FSF)
Prior to performing an installation of Linux, the hardware components of the target system should be checked against what known compatible list below? Software / Hardware List (SHL) Known Working Devices (KWD) Hardware Compatibility List (HCL) Compatible Hardware List (CHL)
Hardware Compatibility List (HCL)
What does the setfacl -b command do? It removes all extra ACL assignments on a given file It sets 7777 on a given file or folder for all users / groups The file's user / group ownership is changed to to root / root The file's ACL assignments are created and are then ready to be modified.
It removes all extra ACL assignments on a given file
The QT toolkit is utilized by which GUI environment? GNOME Enlightenment KDE Xfce
KDE
The overall cost of using a particular operating system is known as? Total cost of ownership (TCO) Owner Related Expense (ORE) Cost to Own (CTO) Return on Investment (ROI)
Total cost of ownership (TCO)