LX0-103 Practice Questions
199 real LX0-103 exam questions with expert-verified answers and explanations. Page 1 of 4.
- Question #1GNU and Unix Commands
Which of the following commands will write a message to the terminals of all logged in users?
wallbroadcast messageterminal messaginguser communication - Question #2Devices, Linux Filesystems, Filesystem Hierarchy Standard
What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)
LVMlogical volumessnapshotsvolume management - Question #3Linux Installation and Package Management
Which of the following commands updates the linker cache of shared libraries?
ldconfigshared librarieslinker cachedynamic linking - Question #4Linux Installation and Package Management
Which of the following commands lists all currently installed packages when using RPM package management?
RPMpackage queryinstalled packagesrpm options - Question #5Linux Installation and Package Management
Which of the following commands can be used to download the RPM package kernel without installing it?
yumdownloaderyumRPM downloadpackage management - Question #6Linux Installation and Package Management
When using rpm --verify to check files created during the installation of RPM packages, which of the following information is taken into consideration? (Choose THREE correct answer...
rpm verifyfile integrityMD5 checksumstimestamps - Question #7Devices, Linux Filesystems, Filesystem Hierarchy Standard
Which of the following is correct when talking about mount points?
mount pointsfilesystemdirectorymounting - Question #8System Architecture
Which function key is used to start Safe Mode in Windows NT?
Windows NTSafe Modeboot optionssystem boot - Question #9Linux Installation and Package Management
Which of the following environment variables overrides or extends the list of directories holding shared libraries?
LD_LIBRARY_PATHshared librariesenvironment variablesdynamic linker - Question #10Linux Installation and Package Management
Which RPM command will output the name of the package which supplied the file /etc/exports?
RPMfile querypackage ownershiprpm -qf - Question #11Linux Installation and Package Management
When removing a package, which of the following dpkg options will completely remove the files including configuration files?
dpkgpackage removalpurgeconfiguration files - Question #12Linux Installation and Package Management
Which file should be edited to select the network locations from which Debian installation package files are loaded?
aptsources.listDebianpackage repositories - Question #13System Architecture
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
ddMBRbootloaderdisk sectors - Question #14GNU and Unix Commands
Which of the following commands can be used to create a USB storage media from a disk image?
dddisk imageUSBblock copy - Question #15GNU and Unix Commands
In Bash, inserting 1>&2 after a command redirects
I/O redirectionfile descriptorsstdoutstderr - Question #16GNU and Unix Commands
What command will generate a list of user names from /etc/passwd along with their login shell?
cutfield delimiter/etc/passwdtext processing - Question #17GNU and Unix Commands
In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?
findmaxdepthdirectory traversalfile search - Question #18GNU and Unix Commands
Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and...
heredochere documentinput redirectionbash - Question #19GNU and Unix Commands
Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?
timestampfile commandtouchmodify time - Question #20GNU and Unix Commands
What is the default nice level when a process is started using the nice command?
niceprocess prioritynicenessscheduling - Question #21GNU and Unix Commands
Which command will print line numbers before each line in a file?
nl commandcat -nline numberstext display - Question #22Linux Installation and Package Management
Which RPM command will output the name of the package which installed the file /etc/exports?
RPMrpm -qfpackage queryfile ownership - Question #23Linux Installation and Package Management
How do you get a list of files that have been installed from a dpkg package?
dpkgdpkg -Lpackage filesDebian packages - Question #24GNU and Unix Commands
You logged in as user tuxl, but now you want to switch users to tux2 with tux2's environment. How would you do this?
su commanduser switchinglogin shellenvironment variables - Question #25GNU and Unix Commands
Which of the following commands will print to standard out only the lines that do not begin with # (pound symbol) in the file foobar?
grepinvert matchregex anchorstext filtering - Question #26GNU and Unix Commands
What does the following command do? cat '$TEST'
shell quotingsingle quotesvariable expansioncat command - Question #27Linux Installation and Package Management
What script is included with the kernel source to patch a kernel?
kernel patchingkernel sourcepatch-kernel script - Question #28Linux Installation and Package Management
Which option is used in the Samba configuration file to set which files and directories are neither visible to or accessible by the clients?
Sambaveto filessmb.conffile access control - Question #29Linux Installation and Package Management
When building an RPM package, which rpmbuild option is used to unpack sources and apply patches before proceeding with the next steps?
rpmbuildRPM packagingsource patchesspec file stages - Question #30Devices, Linux Filesystems, Filesystem Hierarchy Standard
What command is used to mount a floppy disk image under /mnt/floppy?
mount commandloop devicedisk imagemount options - Question #31Linux Installation and Package Management
If the current directory is /root and the kernel source is located in /usr/src/linux, which of the following commands should be used to apply the patch /tmp/foopatch?
patch commandkernel patchingpatch -p1applying patches - Question #32GNU and Unix Commands
What does the following script do? #!/bin/bash find/ -perm +4000 | mail -s "Daily find output" root
SUID filesfind -permshell scriptingfile permissions - Question #33Devices, Linux Filesystems, Filesystem Hierarchy Standard
You have just added a CD.ROM drive (/dev/hdd) to your system and have added it to yourfstab. Typically you can use which of the following commands to mount media in that drive to /...
mount commandfstabCD-ROMfilesystem mounting - Question #34System Architecture
With Xorg 7.0, what is the name of the default font server?
Xorgfont serverxfsX Window System - Question #35GNU and Unix Commands
An administrator is looking for an executable file foo. Which of the following commands would search for foo within directories set in the shell variable, PATH?
which commandPATH variableexecutable searchcommand location - Question #36Devices, Linux Filesystems, Filesystem Hierarchy Standard
Which of the following does the Filesystem Hierarchy Standard enable? (Select TWO).
FHSFilesystem Hierarchy Standardfile location predictionLinux standards - Question #37Devices, Linux Filesystems, Filesystem Hierarchy Standard
To allow a regular user account to mount and unmount a filesystem (for instance, a cdrom or floppy), which option need to be added to the corresponding line in /etc/fstab?
fstabmount optionsuser optionfilesystem permissions - Question #38GNU and Unix Commands
Given the following output: prompt> myapp [1]+ Stopped myapp prompt> Which of the following commands will resume executing the stopped process while allowing the user to continue t...
job controlbg commandbackground processprocess management - Question #39System Architecture
In xorg.conf, which section is concerned with fonts?
xorg.confFiles sectionfont pathX configuration - Question #40System Architecture
Which of the following configuration files should be modified to disable the ctrl-alt-delete key combination?
inittabctrl-alt-deletesystem initializationkey bindings - Question #41GNU and Unix Commands
Which of the following commands will print the last 10 lines of a text file to the standard output?
tailtext processingstandard outputfile viewing - Question #42GNU and Unix Commands
Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
cutfield delimiter/etc/passwdtext processing - Question #43GNU and Unix Commands
Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?
signalsSIGINTprocess controlkeyboard shortcuts - Question #44GNU and Unix Commands
What happens after issuing the command vi without any additional parameters?
vitext editorcommand modeempty file - Question #45GNU and Unix Commands
Which of the following command sets the Bash variable named TEST with the content FOO?
bash variablesvariable assignmentshell syntax - Question #46GNU and Unix Commands
Which variable defines the directories in which a Bash shell searches for executable commands?
PATHenvironment variablesbashexecutable search - Question #47GNU and Unix Commands
Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?
file commandfile type detectionmagic database - Question #48GNU and Unix Commands
Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers....
findfile ownership-user optiondirectory traversal - Question #49GNU and Unix Commands
When running the command sed -e "s/a/b/" /tmp/file >/tmp/file While /tmp/file contains data, why is /tmp/file empty afterwards?
shell redirectionsedfile truncationexecution order - Question #50GNU and Unix Commands
When given the following command line. echo "foo bar" | tee bar | cat Which of the following output is created?
teepipesstandard outputcommand pipeline