010-100 Exam Questions
92 real 010-100 exam questions with expert-verified answers and explanations. Page 1 of 2.
- Question #1Configuration
Which of the following programs is used to search for files in a file system?
locate commandfile searchLinux commandsfilesystem - Question #2Development
Which of the following commands will output all of the lines with the name Fred in upper or lower case but not the word red from the file data_file? (Select TWO correct answers)
grepregexcase insensitivepattern matching - Question #3Development
The script, script.sh, consists of the following lines: #!/bin/bash echo $2 $1 Which output will appear if the command, ./script.sh test1 test2, is entered?
bash scriptingpositional parametersshell variablesscript execution - Question #4Configuration
Which TWO commands can be used to make the file /tmp/foo.txt readable for all users?
chmodfile permissionsoctal notationLinux permissions - Question #5Configuration
Which of the following properties of a user account determines whether the user is given administrator privileges?
UID 0root privilegesLinux user accountsadministrator - Question #6Configuration
What command line will create the user falco with home directory assigned to the group users as primary group?
useraddhome directoryprimary groupuser management - Question #7Configuration
When a new user is added, where does his user ID gets stored?
/etc/passwduser ID storageuser accountLinux - Question #8Configuration
Which of the following commands can be used to change both the owner AND group settings of a file?
chownfile ownershipgroup settingsLinux commands - Question #10Development
The output of the program date should be saved in the variable actdat. What is the correct statement?
command substitutionbash variablesshell scriptingdate command - Question #11The Linux Operating System
You are formatting a single hard disk for a Linux install. What is the maximum number of primary partitions you can create?
disk partitioningMBRprimary partitionshard disk - Question #12The Power of the Command Line
In order to append the output of ls to a file called bazz, which of the following command lines would you use?
output redirectionappend operatorshell commandsls - Question #13The Power of the Command Line
You enter the command date +%M. Wat does the output show you?
date commandformat specifierstime outputshell commands - Question #14Finding Your Way on a Linux System
When you are looking for brief information about a program in your PATH with its associated man pages, you would use ...
whereisman pagescommand lookupPATH - Question #15The Power of the Command Line
Which approach will provide a listing of the contents in a tar archive?
tar commandarchive listingtar optionsfile compression - Question #16The Linux Operating System
A Linux computer has no access to the internet. Which command displays information about the network gateway for the system?
route commandnetwork gatewaynetwork configurationifconfig - Question #17The Power of the Command Line
Which command is used to make a shell variable known to subsequently executed programs?
export commandshell variablesenvironment variablessubprocesses - Question #18The Linux Community and a Career in Open Source
Which criteria are useful when deciding which operating system to use? (Select THREE answers)
OS selection criterialicense costsopen sourceLinux adoption - Question #19The Power of the Command Line
Which of the following commands will create an archive file, named backup.tar, containing all the files from the directory /home?
tar commandarchive creationtar optionsbackup - Question #20The Power of the Command Line
What is the output of the following command sequence? for token in a b c; do echo -n "$token "; done
for loopshell scriptingecho -nbash syntax - Question #21The Power of the Command Line
What is the correct command to extract the contents of the archive file download.bz2?
bunzip2bzip2 compressionfile extractionarchive tools - Question #22The Power of the Command Line
What is the output of the following command? for token in a b c; do echo -n ${token}; done
for loopvariable expansionshell scriptingbash syntax - Question #23The Power of the Command Line
Which of the following command sequences overwrites the file foobar.txt?
output redirectionoverwrite operatorecho commandshell redirection - Question #24The Power of the Command Line
Which of the following commands redirects the output of cmd to the file foo.txt, in which an existing file is overwritten?
output redirectionfile overwriteshell operatorsstdout - Question #25The Linux Community and a Career in Open Source
Which statements are correct regarding distributions? (Choose TWO answers)
Linux distributionspackage managementcross-distro compatibilitysoftware installation - Question #26The Power of the Command Line
What does the exit status 0 indicate about a process?
exit statusprocess terminationreturn codesshell scripting - Question #27The Linux Community and a Career in Open Source
Which of the following is a Linux based operating system for use on mobile devices?
AndroidLinux mobileoperating systemsLinux distributions - Question #28The Power of the Command Line
Which of the following is an example of globbing?
globbingwildcardsfilename expansionshell patterns - Question #29Finding Your Way on a Linux System
What command would you use to get comprehensive documentation about any command in Linux?
man commanddocumentationmanual pageshelp system - Question #30Finding Your Way on a Linux System
Which of the following is the home folder for the root user?
root userhome directoryfilesystem hierarchyuser directories - Question #31The Linux Community and a Career in Open Source
Which of the following possibilities is only available when using open source software?
open sourcesource code accesssoftware freedom - Question #32The Linux Operating System
Where is the BIOS located?
BIOShardware componentsmotherboardfirmware - Question #33Security and File Permissions
Given a directory with the following information: drwxrwxrwxt 12 tu tg 36864 2012-03-15 /home/directory/ Which of the following statements are true? (Choose TWO answers)
sticky bitdirectory permissionsfile ownershipspecial permissions - Question #34The Power of the Command Line
How can the normal output of a command be written to a file while discarding the error output?
I/O redirectionstderrstdout/dev/null - Question #35The Linux Operating System
Which files will affect the domain name resolution system on Linux? (Choose TWO answers)
DNS resolution/etc/hosts/etc/resolv.confname resolution - Question #36The Linux Operating System
Which network interface always exists in a Linux system?
loopback interfacenetwork interfaceslo - Question #37The Power of the Command Line
Which command will display running process information in real time?
top commandprocess monitoringreal-time processes - Question #38The Linux Community and a Career in Open Source
Which one of the following is true about Open Source software?
open sourcecommercial useOSI definitionsoftware licensing - Question #39Security and File Permissions
Which command displays the list of groups to which a user belongs?
id commanduser groupsuser identity - Question #40Finding Your Way on a Linux System
After installing a new package, in which directory are you most likely find its configuration file?
filesystem hierarchy/etc directoryconfiguration filesFHS - Question #41The Power of the Command Line
Which of the following is a valid option for a typical command to get its built-in usage information?
--help flagcommand helpcommand options - Question #42The Linux Community and a Career in Open Source
Which of the following is a requirement of the GPL license but not the BSD license?
GPL licenseBSD licensecopyleftlicense comparison - Question #43The Linux Community and a Career in Open Source
Which of the following Ubuntu releases is considered most stable and fit to use for business purposes?
Ubuntu LTSLinux distributionsenterprise Linuxrelease types - Question #44Security and File Permissions
What is the command to change the password of a user?
passwd commandpassword managementuser accounts - Question #45The Power of the Command Line
With which command can you determine the time of the last restart of a system?
last commandreboot historysystem uptime - Question #46The Power of the Command Line
You have a program called /usr/bin/foo. You wish to create a symbolic link, /home/user/foo, that points to it. Which command will do this task?
symbolic linkln commandsoft linkfile system - Question #47Security and File Permissions
Which of the following will change the group that is associated with a file?
chownfile group ownershipfile permissions - Question #48The Linux Operating System
What is the command that will show system boot time messages?
dmesgboot messageskernel ring buffer - Question #49The Linux Operating System
Where can a boot loader be installed?
boot loaderMBRGRUBdisk booting - Question #50The Power of the Command Line
Which of the following commands can be used to extract content from a tar file?
tar commandarchive extractionfile compression - Question #51The Linux Operating System
Which of the following filesystems is most commonly used for Linux distributions?
filesystemsext4Linux storage