GAQM LCP-001 Exam Questions
Linux Certified Professional (LCP) Powered by LPI (Page 9 )

Updated On: 21-Feb-2026

As root you have navigated to directory /B. You wish to move all of the files and directories from directory /A to directory /B. Which of the following options would be the most appropriate command line to execute this task?

  1. cp /a/* .
  2. mv -f /A/* .
  3. mv -Rf /a/* .
  4. cp -f /a/* ..
  5. cp -rf /A/* /b/

Answer(s): B

Explanation:

Files and folders are case-sensitive.



What key sequence will suspend the current process and return you to a shell prompt?

  1. Ctrl-z
  2. Ctrl-c
  3. Ctrl-x
  4. Ctrl-d

Answer(s): A



Which TWO commands will find the path for the binary vim?

  1. man vim
  2. whereis vim
  3. apropos vim
  4. which vim

Answer(s): B,D

Explanation:

which and whereis command displays the executable path of commands. Example: which clearàShows actually where clear is stored similarly whereis clear.



What command returns the first few lines of a given file?

  1. head

Answer(s): A



What command changes the priority of the process running with process id of 12345 to the highest priority?

  1. /usr/bin/renice +20 1234
  2. /usr/bin/renice -20 12345
  3. /bin/setpriority +20 12345
  4. /bin/setpriority -20 12345

Answer(s): B

Explanation:

To change the priority of running process we use the renice command. Default priority is 0, highest priority is -20 and lowest priority is 19. The path of renice command is /usr/bin/renice.






Post your Comments and Discuss GAQM LCP-001 exam dumps with other Community members:

Join the LCP-001 Discussion