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 6 of 7
#101Linux AdministrationMedium

What does the symbol within regular expressions represent?

Single ChoiceWith explanation
View question
#102Linux AdministrationMedium

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?

Single ChoiceWith explanation
View question
#103Linux AdministrationMedium

Which of the following files, located in the user home directory, is used to store the Bash history?

Single ChoiceWith explanation
View question
#104Linux AdministrationMedium

Which Bash environment variable defines in which file the user history is stored when exiting a Bash process?

Single ChoiceWith explanation
View question
#105Linux AdministrationMedium

Which of the following commands displays the contents of a gzip compressed tar archive?

Single ChoiceWith explanation
View question
#106Linux AdministrationMedium

Which grep command will print only the lines that do not end with a / in the file foo?

Single ChoiceWith explanation
View question
#107Linux AdministrationMedium

Which of the following commands is used to change options and positional parameters for a running Bash?

Single ChoiceWith explanation
View question
#108Linux AdministrationMedium

Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?

Single ChoiceWith explanation
View question
#109Linux AdministrationMedium

From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)

Multiple ChoiceWith explanation
View question
#110Linux AdministrationMedium

Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)

Multiple ChoiceWith explanation
View question
#111Linux AdministrationMedium

Regarding the command: nice -5 /usr/bin/prog Which of the following statements is correct?

Single ChoiceWith explanation
View question
#112Linux AdministrationMedium

Which shell command is used to continue background execution of a suspended command?

Single ChoiceWith explanation
View question
#113Linux AdministrationMedium

Which of the following shell redirections will write standard output and standard error output to a file named filename?

Single ChoiceWith explanation
View question
#114Linux AdministrationMedium

In the vi editor, which of the following commands will copy the current line into the vi buffer?

Single ChoiceWith explanation
View question
#115Linux AdministrationMedium

Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)

Multiple ChoiceWith explanation
View question
#116Linux AdministrationMedium

When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process?

Single ChoiceWith explanation
View question
#117Linux AdministrationMedium

Which of the following commands will reduce all consecutive spaces down to a single space?

Single ChoiceWith explanation
View question
#118Linux AdministrationMedium

Which character, added to the end of a command, runs that command in the background as a child process of the current shell?

Single ChoiceWith explanation
View question
#119Linux AdministrationMedium

Which of the following commands will print the last 10 lines of a text file to the standard output?

Single ChoiceWith explanation
View question
#120Linux AdministrationMedium

Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

Single ChoiceWith explanation
View question

Showing 101 to 120 of 139