Information Technology (IT)Full Simulation
Questions for LFCS
Practice with official and original questions from LFCS.
139 Questions540 MinutesPage 2 of 7
#21Linux AdministrationMedium
With explanationWhat output will the following command sequence produce? echo '1 2 3 4 5 6' while read a b c; do echo result: cb $a; done
Single ChoiceWith explanation
View question#22Linux AdministrationMedium
With explanationWhen the command echo $ outputs 1, which of the following statements is true?
Single ChoiceWith explanation
View question#23Linux AdministrationMedium
With explanationWhat output will the command seq 10 produce?
Single ChoiceWith explanation
View question#24Linux AdministrationMedium
With explanationAfter issuing: function myfunction { echo 12; } in Bash, which output does: myfunction A B C Produce?
Single ChoiceWith explanation
View question#25Linux AdministrationMedium
With explanationWhich of the following commands puts the output of the command date into the shell variable mydate?
Single ChoiceWith explanation
View question#26Linux AdministrationMedium
With explanationWhich command will display messages from the kernel that were output during the normal boot sequence?
Single ChoiceWith explanation
View question#27Linux AdministrationMedium
With explanationWhich of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)
Multiple ChoiceWith explanation
View question#28Linux AdministrationMedium
With explanationWhat is the difference between the commands test -e path and test -f path?
Single ChoiceWith explanation
View question#29Linux AdministrationMedium
With explanationHow can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?
Single ChoiceWith explanation
View question#30Linux AdministrationMedium
With explanationWhat output will the following command produce? seq 1 5 20
Single ChoiceWith explanation
View question#31Linux AdministrationMedium
With explanationWhich of the following commands lists all defined variables and functions within Bash?
Single ChoiceWith explanation
View question#32Linux AdministrationMedium
With explanationWhat is the purpose of the file /etc/profile?
Single ChoiceWith explanation
View question#33Linux AdministrationMedium
With explanationWhich of the following commands will write a message to the terminals of all logged in users?
Single ChoiceWith explanation
View question#34Linux AdministrationMedium
With explanationFor accessibility assistance, which of the following programs is an on-screen keyboard?
Single ChoiceWith explanation
View question#35Linux AdministrationMedium
With explanationWhich of the following kernel parameters instructs the kernel to suppress most boot messages?
Single ChoiceWith explanation
View question#36Linux AdministrationMedium
With explanationWhich file specifies the user accounts that can NOT submit jobs via at or batch?
Single ChoiceWith explanation
View question#37Linux AdministrationMedium
With explanationIn case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?
Single ChoiceWith explanation
View question#38Linux AdministrationMedium
With explanationWhich of the following commands can remove a user from a group?
Single ChoiceWith explanation
View question#39Linux AdministrationMedium
With explanationWhich of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?
Single ChoiceWith explanation
View question#40Linux AdministrationMedium
With explanationWhich of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?
Single ChoiceWith explanation
View questionShowing 21 to 40 of 139