ExamGecko
Home / LPI / 101-500 / List of questions
Ask Question

LPI 101-500 Practice Test - Questions Answers, Page 8

List of questions

Question 71

Report Export Collapse

What is the default nice level when a process is started using the nice command?

-10
-10
10
10
20
20
0
0
Suggested answer: B
asked 18/09/2024
Adish Narayan
40 questions

Question 72

Report Export Collapse

What is the default action of the split command on an input file?

It will break the file into new files of 1,024 byte pieces each.
It will break the file into new files of 1,024 byte pieces each.
It will break the file into new files of 1,000 line pieces each.
It will break the file into new files of 1,000 line pieces each.
It will break the file into new files of 1,024 kilobyte pieces each.
It will break the file into new files of 1,024 kilobyte pieces each.
It will break the file into new files that are no morethan 5% of the size of the original file.
It will break the file into new files that are no morethan 5% of the size of the original file.
Suggested answer: B
asked 18/09/2024
Dang Xuan Bao
45 questions

Question 73

Report Export Collapse

What is the difference between the i and a commands of the vi editor?

i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modesautomatically.
i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modesautomatically.
i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.
i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.
i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.
i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.
i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.
i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.
Suggested answer: B
asked 18/09/2024
Louis Flink
49 questions

Question 74

Report Export Collapse

CORRECT TEXT

Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)

jobs
jobs
Suggested answer: A
asked 18/09/2024
Abid Ali Minhas
38 questions

Question 75

Report Export Collapse

Which of the following commands moves and resumes in the background the last stopped shell job?

run
run
bg
bg
fg
fg
back
back
Suggested answer: B
asked 18/09/2024
Fatawu Musah
38 questions

Question 76

Report Export Collapse

What is the effect of the egrep command when the -v option is used?

It enables color to highlight matching parts.
It enables color to highlight matching parts.
It only outputs non-matching lines.
It only outputs non-matching lines.
It shows the command's version information.
It shows the command's version information.
It changes the output order showing the last matching line first.
It changes the output order showing the last matching line first.
Suggested answer: B
asked 18/09/2024
Vaniko Batiashvili
34 questions

Question 77

Report Export Collapse

What does the ? symbol within regular expressions represent?

Match the preceding qualifier one or more times.
Match the preceding qualifier one or more times.
Match the preceding qualifier zero or more times.
Match the preceding qualifier zero or more times.
Match the preceding qualifier zero or one times.
Match the preceding qualifier zero or one times.
Match a literal ?character.
Match a literal ?character.
Suggested answer: C
asked 18/09/2024
Anand R
42 questions

Question 78

Report Export Collapse

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?

By using the command :repeat followed by the number and the command.
By using the command :repeat followed by the number and the command.
By specifying the number right in front of a command such as 4l or 2yj.
By specifying the number right in front of a command such as 4l or 2yj.
By selecting all affected lines using the shift and cursor keys before applying the command.
By selecting all affected lines using the shift and cursor keys before applying the command.
By issuing a command such as :set repetition=4 which repeats every subsequentcommand 4 times.
By issuing a command such as :set repetition=4 which repeats every subsequentcommand 4 times.
Suggested answer: B
asked 18/09/2024
Jonno Sweeney
48 questions

Question 79

Report Export Collapse

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

.bash_history
.bash_history
.bash_histfile
.bash_histfile
.history
.history
.bashrc_history
.bashrc_history
.history_bash
.history_bash
Suggested answer: A
asked 18/09/2024
Philippe Chretien
46 questions

Question 80

Report Export Collapse

CORRECT TEXT

Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.)

HISTFILE
HISTFILE
Suggested answer: A
asked 18/09/2024
Kazi Basit
45 questions
Total 246 questions
Go to page: of 25