Free GAQM LCP-001 Exam Actual Questions

The questions for LCP-001 were last updated On Nov 16, 2024

Question No. 1

An administrator has sent their current vi process with a PID of 1423 to the background on the command line. Assuming no other processes are in the background, what single command with no options or parameters will bring the vi process to the foreground?

Show Answer Hide Answer
Correct Answer: A

Question No. 2

Which of the following is very important when installing from source code (Check TWO that apply)?

Show Answer Hide Answer
Correct Answer: A, C

Question No. 3

Which of the following sed commands will replace all instances of the string foo with the string foobar changing the file file1.txt in place?

Show Answer Hide Answer
Correct Answer: D

Question No. 4

What command will remove duplicate lines from a sorted file?

Show Answer Hide Answer
Correct Answer: C

uniq - remove duplicate lines from a sorted file


Question No. 5

What command will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?

Show Answer Hide Answer
Correct Answer: A