Skip to main content
Back to Exams
Information Technology (IT)Full Simulation

Questions for LFCS

Practice with official and original questions from LFCS.

139 Questions540 MinutesPage 2 of 7
#21Linux AdministrationMedium

What 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

When the command echo $ outputs 1, which of the following statements is true?

Single ChoiceWith explanation
View question
#23Linux AdministrationMedium

What output will the command seq 10 produce?

Single ChoiceWith explanation
View question
#24Linux AdministrationMedium

After issuing: function myfunction { echo 12; } in Bash, which output does: myfunction A B C Produce?

Single ChoiceWith explanation
View question
#25Linux AdministrationMedium

Which of the following commands puts the output of the command date into the shell variable mydate?

Single ChoiceWith explanation
View question
#26Linux AdministrationMedium

Which command will display messages from the kernel that were output during the normal boot sequence?

Single ChoiceWith explanation
View question
#27Linux AdministrationMedium

Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)

Multiple ChoiceWith explanation
View question
#28Linux AdministrationMedium

What is the difference between the commands test -e path and test -f path?

Single ChoiceWith explanation
View question
#29Linux AdministrationMedium

How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?

Single ChoiceWith explanation
View question
#30Linux AdministrationMedium

What output will the following command produce? seq 1 5 20

Single ChoiceWith explanation
View question
#31Linux AdministrationMedium

Which of the following commands lists all defined variables and functions within Bash?

Single ChoiceWith explanation
View question
#32Linux AdministrationMedium

What is the purpose of the file /etc/profile?

Single ChoiceWith explanation
View question
#33Linux AdministrationMedium

Which of the following commands will write a message to the terminals of all logged in users?

Single ChoiceWith explanation
View question
#34Linux AdministrationMedium

For accessibility assistance, which of the following programs is an on-screen keyboard?

Single ChoiceWith explanation
View question
#35Linux AdministrationMedium

Which of the following kernel parameters instructs the kernel to suppress most boot messages?

Single ChoiceWith explanation
View question
#36Linux AdministrationMedium

Which file specifies the user accounts that can NOT submit jobs via at or batch?

Single ChoiceWith explanation
View question
#37Linux AdministrationMedium

In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?

Single ChoiceWith explanation
View question
#38Linux AdministrationMedium

Which of the following commands can remove a user from a group?

Single ChoiceWith explanation
View question
#39Linux AdministrationMedium

Which 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

Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?

Single ChoiceWith explanation
View question

Showing 21 to 40 of 139