Inspirational journeys

Follow the stories of academics and their research expeditions

Comptia Linux + 2023 Questions and answer - Part 38

Mary Smith

Thu, 15 May 2025

Comptia Linux + 2023 Questions and answer - Part 38

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

A) A. -10
B) B. 10
C) C. 20
D) D. 0



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

A) A. It will break the file into new files of 1,024 byte pieces each.
B) B. It will break the file into new files of 1,000 line pieces each.
C) C. It will break the file into new files of 1,024 kilobyte pieces each.
D) D. It will break the file into new files that are no more than 5% of the size of the original file.



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

A) A. i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modes automatically.
B) B. i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.
C) C. i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.
D) D. i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.



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

A) A. run
B) B. bg
C) C. fg
D) D. back



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

A) A. It enables color to highlight matching parts.
B) B. It only outputs non-matching lines.
C) C. It shows the command's version information.
D) D. It changes the output order showing the last matching line first.



1. Right Answer: B
Explanation:

2. Right Answer: B
Explanation:

3. Right Answer: B
Explanation:

4. Right Answer: B
Explanation:

5. Right Answer: B
Explanation:

0 Comments

Leave a comment