Inspirational journeys

Follow the stories of academics and their research expeditions

Comptia Linux + 2023 Questions and answer - Part 36

Mary Smith

Thu, 04 Jun 2026

1. Which of the following commands kills the process with the PID 123 but allows the process to 'clean up' before exiting?

A) A. kill -PIPE 123
B) B. kill -KILL 123
C) C. kill -STOP 123
D) D. kill -TERM 123



2. What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?

A) A. 9
B) B. 19
C) C. 49
D) D. 99



3. Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?

A) A. i (lowercase)
B) B. P (uppercase)
C) C. p (lowercase)
D) D. U (uppercase)
E) E. u (lowercase)


4. A user accidentally created the subdirectory dir in his home directory. Which of the following commands will remove that directory?

A) A. rmdir '~/dir'
B) B. rmdir '~/dir'
C) C. rmdir ~/'dir'
D) D. rmdir ~/dir
E) E. rmdir ~/\dir


5. In compliance with the FHS, in which of the directories are man pages found?

A) A. /usr/share/man
B) B. /opt/man
C) C. /usr/doc/
D) D. /var/pkg/man
E) E. /var/man


1. Right Answer: D
Explanation:

2. Right Answer: B
Explanation:

3. Right Answer: C
Explanation:

4. Right Answer: E
Explanation:

5. Right Answer: A
Explanation:

0 Comments

Leave a comment