LFCS Exam Questions
676 real LFCS exam questions with expert-verified answers and explanations. Page 12 of 14.
- Question #749Essential Commands
Which shell built-in command can be used to create a shortcut or pseudonym for a longer command? Assume a modern bournE.like shell, such as bash.
shellaliasbuilt-in commandCLI - Question #750Operation of Running Systems
Which command displays information about connected USB devices?
USB devicesproc filesystemHardware informationSystem information - Question #751Storage Management
Which of the following commands is run LAST during boot on a system with quotas enabled?
Boot processDisk quotasFilesystem management - Question #752Service Configuration
After installing and configuring XFree86, you notice that when you start X, the display is not centered. What program can you run to find a better modeline setting?
X Server configurationDisplay settingsModeline tuningxvidtune - Question #753Storage Management
According to the File System Hierarchy Standard, the lost+found directory is used for:
File System Hierarchylost+found directoryfsck utilityFile System Structure - Question #754Essential Commands
Which of the following commands will display the last 30 lines of /var/log/bigd.log as well as new content as it is appended to the file by another process?
tail commandlog file monitoringcommand line utilities - Question #755User and Group Management
The sticky bit is usually set on
Sticky bitFile permissions/tmp directory - Question #756Essential Commands
Which of the following command line redirection characters instructs the shell to read from the current input source until a specific word, on a separate line and without and trail...
Shell RedirectionHere DocumentInput/OutputCommand Line Interface - Question #757Essential Commands
In order to append the output of Is to a file called bazz, which of the following command lines would you use?
I/O RedirectionFile Appendingls command - Question #759Operation of Running Systems
To what environment variable will an administrator assign or append a value if the administrator needs to tell the dynamic linker to look in a build directory for some of a program...
Shared LibrariesDynamic LinkerEnvironment VariablesProgram Execution - Question #760Essential Commands
Which of the following commands will print the current video settings to stdout in XF86Config "Modeline" format?
X Window SystemVideo settingsCommand-line utilitiesxvidtune - Question #761Essential Commands
You want to preview where the package file, apachE.xml.i386.rpm, will install its files before installing it. What command do you issue?
rpmpackage managementquery package filesfile listing - Question #762Essential Commands
What single command (no options or arguments) can be used to fully extract a file called abc.tar.bz2? )
ArchivingCompressionFile ManagementBasic Commands - Question #763Service Configuration
Which of the following is the default Xorg configuration file?
XorgConfiguration filesFile paths - Question #764User and Group Management
On a system using shadowed passwords, the correct permissions for /etc/passwd are ___ and the correct permissions for /etc/shadow are ___.
File PermissionsUser AccountsSystem SecurityShadow Passwords - Question #765Operation of Running Systems
The correct crontab entry to execute the script chklog once per hour between 3 p.m. and 5 p.m. on Monday and Thursday each week is:
crontabschedulingjob automation - Question #766User and Group Management
Of the ways listed, which is the best way to temporarily suspend a user's ability to interactively login?
User account managementLogin controlShell configuration - Question #767User and Group Management
You have a user whose account you want to disable but not remove. What should you do?
User accountsAccount disabling/etc/passwdSecurity - Question #768Operation of Running Systems
Which crontab entry could be used to set the system time at regular intervals?
CronNTPTime SynchronizationSystem Maintenance - Question #769Networking
Identify the statement that would create a default route using a gateway of 192.168.1.1.
route commanddefault routegatewaynetwork configuration - Question #770Operation of Running Systems
X is running okay but you're concerned that you may not have the right color depth set. What single command will show you the running color depth while in X?
X Window SystemxwininfoColor depthDisplay information - Question #771Networking
You suspect that a gateway machine on your network has failed but you are unsure which machine. Which command will help locate the problem?
network troubleshootingtraceroutegatewayconnectivity diagnosis - Question #772Networking
Suppose that the command netstat a hangs for a long time without producing output. You might suspect:
netstat commandDNS resolutionNetwork troubleshootingHanging processes - Question #773Networking
Consider the following command and an abbreviated version of its output: $ netstat nr Kernel IP routing table Destination Gateway Genmask Flags Iface 192.168.165.0 0.0.0.0 255.255....
netstatRouting tableDefault gatewayNetwork configuration - Question #774Storage Management
What command can be used on an existing (formatted) partition, to configure the interval between disk checks when mounting partitions?
Filesystem tuningDisk checksPartition managementtune2fs - Question #775Service Configuration
If the path parameter is not set for a share in the smb.conf file, the share will refer to which of the following directories?
Samba configurationsmb.confDefault pathsNetwork shares - Question #776Operation of Running Systems
What information does the file modules.dep provide?
Kernel ModulesModule DependenciesSystem Files - Question #777Storage Management
What is the minimum number of disks required in a RAID5 array?
RAIDRAID5Disk ArrayStorage Concepts - Question #778Operation of Running Systems
Which of the following is the process ID number of the init program?
init processPIDprocess managementsystem boot - Question #779Storage Management
An administrator has just added a CD-ROM drive (/dev/hdd) to a system and added it to the administrator's fstab. Typically the administrator can use which of the following commands...
fstabmount commandFilesystem management - Question #780Storage Management
Which of the following commands will allow an administrator to adjust the number of mounts after which an existing filesystem will be checked by e2fsck?
Filesystem managementtune2fse2fsckExt filesystems - Question #781Essential Commands
Which of the following directories contains additional information about installed packages?
Filesystem Hierarchy StandardPackage documentationDirectory structureLinux filesystem - Question #782Storage Management
Which of the following Linux filesystems pre-allocates a fixed number of inodes at filesystems make/creation time, and does NOT generate them as needed?
FilesystemsInodesext3Filesystem Creation - Question #783Operation of Running Systems
An administrator is having some trouble with a disk partition and needs to do maintenance on this partition. The administrator's users home directories are on it and several are lo...
RunlevelsMaintenance ModeSingle-User ModeSystem State - Question #784User and Group Management
An administrator wants the default permissions for their files to be -rw-r-----. How must the administrator set umask?
umaskFile permissionsDefault permissionsAccess control - Question #785Essential Commands
An administrator is writing text in vi. Now the administrator wants to save their changes and exit. Which of the following sequence of inputs will accomplish this? (Select TWO).
vi editorvim editorsave and exiteditor commands - Question #786Essential Commands
While editing a file in vi, an administrator realizes that the wrong file is being changed. Which of the following vi command sequences will allow the administrator to quit without...
vi editortext editingquitting files - Question #787Essential Commands
In the command foo < bar | foobar, which of the following statements is correct?
Shell redirectionPipesStandard I/OCommand line basics - Question #788Essential Commands
All of the following commands will execute the bash script /usr/local/bin/runme.sh EXCEPT:
shell scriptingcommand executionbashsource command - Question #789Essential Commands
Bob accidentally created the subdirectory \bobsdir in his home directory. He tried to remove the subdirectory with the command rmdir \bobsfile only to receive the error: "No such f...
Shell EscapingDirectory Managementrmdir commandFile Paths - Question #790User and Group Management
Which of the following chown commands will change the ownership to foo and the group to bar on a file named biglist?
chown commandfile ownershipLinux commandsgroup ownership - Question #791Storage Management
To allow a regular user account to mount and unmount a filesystem (for instance, a cdrom or floppy), which of the following options will need to be added to the corresponding line...
/etc/fstabmountinguser permissionsfilesystems - Question #792Storage Management
An administrator is trying to make a hard link to an ordinary file but ln returns an error. Which of the following could cause this?
Hard LinksFilesystemsInodesln command - Question #793Essential Commands
For which of the following can the tee command be used?
tee commandI/O redirectionstdoutfile output - Question #794Essential Commands
What is the default action of the split command on an input file?
file manipulationsplit commandcommand line utilitiestext processing - Question #795Essential Commands
What is the difference between the i and a commands of the vi editor?
vi editortext editinginsert modecommands - Question #796Essential Commands
Which of the following commands moves and resumes in the background the last stopped shell job?
job controlbackground processesshell commands - Question #797Essential Commands
What is the effect of the egrep command when the -v option is used?
grepegrepcommand-line optionstext processing - Question #798Essential Commands
What does the ? symbol within regular expressions represent?
Regular ExpressionsRegExPattern MatchingEssential Commands - Question #799Essential Commands
In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?
vi editorcommand repetitiontext editingcursor movement