LFCS Exam Questions
676 real LFCS exam questions with expert-verified answers and explanations. Page 14 of 14.
- Question #850Storage Management
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?
fstabFilesystem mountingUser permissionsStorage options - Question #851Essential 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...
Process managementJob controlBackground processesShell commands - Question #852Service Configuration
In xorg.conf, which section is concerned with fonts?
xorg.confX Window SystemFontsConfiguration Files - Question #853Operation of Running Systems
Which of the following configuration files should be modified to disable the ctrl-alt-delete key combination?
Ctrl-Alt-DelinittabSystem InitializationSysVinit - Question #854Essential Commands
Which of the following commands will print the last 10 lines of a text file to the standard output?
tail commandfile viewingcommand line utilitiesstandard output - Question #855Essential Commands
Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
cut commandtext processingfile manipulation/etc/passwd - Question #856Essential Commands
Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?
Linux signalsProcess managementCTRL+CTerminal control - Question #857Essential Commands
What happens after issuing the command vi without any additional parameters?
vi editorcommand line editortext editingeditor modes - Question #858Essential Commands
Which of the following command sets the Bash variable named TEST with the content FOO?
Bash variablesVariable assignmentShell scripting basicsCommand line - Question #859Essential Commands
Which variable defines the directories in which a Bash shell searches for executable commands?
PATH variableBash shellCommand search pathEnvironment variables - Question #860Essential 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 identificationbasic commands - Question #861Essential 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....
find commandfile searchfile ownershipcommand syntax - Question #862Essential 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 RedirectionCommand Execution OrderFile Truncationsed command - Question #863Essential Commands
When given the following command line. echo "foo bar" | tee bar | cat Which of the following output is created?
PipesStandard I/Otee commandShell commands - Question #864Operation of Running Systems
Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)
system uptimeuptime commandtop commandbasic commands - Question #865Essential Commands
Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)
BashRedirectionStandard Streams - Question #866Essential Commands
After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation?
hard linksfile system conceptsfile deletioninode - Question #867Storage Management
After moving data to a new filesystem, how can the former path of the data be kept intact in order to avoid reconfiguration of existing applications? (Choose TWO correct answers.)
FilesystemsSymlinksMountingPath Redirection - Question #868User and Group Management
Which of the following commands changes the ownership of file.txt to the user dan and the group staff?
chown commandFile OwnershipGroup OwnershipCommand Line - Question #869Essential Commands
Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?
chmodFile PermissionsAccess ControlLinux Commands - Question #870Essential Commands
Which of the following commands can be used to search for the executable file foo when it has been placed in a directory not included in $PATH?
File search`find` commandFilesystem navigationExecutable files - Question #871Storage Management
Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/ creation time and does NOT generate them as needed? (Choose TWO correct ans...
Filesystem ManagementInode Allocationext2ext3 - Question #872Storage Management
What is the purpose of the Filesystem Hierarchy Standard?
Filesystem Hierarchy StandardFHSdirectory structurefilesystem layout - Question #873Storage Management
Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)
fstabpartition identificationUUIDLABEL - Question #874Storage Management
After running the command umount /mnt, the following error message is displayed: umount: /mnt: device is busy. What is a common reason for this message?
File SystemsMount/UmountTroubleshootingDevice Busy - Question #875Storage Management
What does the command mount -a do?
mount command/etc/fstabFilesystem managementAutomatic mounting