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

Updated On: 21-Feb-2026

You want to save vi changes to the file myfile with :w!, but vi complains it can not write to the file. Therefore, you want to check the write permissions on the file. To do this without leaving vi, you type:

  1. :!ls -l myfile
  2. :\ls -l myfile
  3. esc :ls -l myfile
  4. :?ls -l myfile

Answer(s): A



Which of the following GNU commands would be the most likely command you'd use to find the system load average?

  1. top
  2. nice
  3. loadavg
  4. cpustat
  5. ps

Answer(s): A

Explanation:

The top program provides a dynamic real-time view of a running system. It can display system summary information as well as a list of tasks currently being managed by the Linux kernel. The types of system summary information shown and the types, order and size of information displayed for tasks are all user configurable and that configuration can be made persistent across restarts.



Which of the following commands is equivalent to kill 1234?

  1. kill -1 1234 or kill -s SIGHUP 1234
  2. kill -2 1234 or kill -s SIGINT 1234
  3. kill -3 1234 or kill -s SIGQUIT 1234
  4. kill -9 1234 or kill -s SIGKILL 1234
  5. kill -15 1234 or kill -s SIGTERM 1234

Answer(s): E



What command would execute cmd1 followed by cmd2, regardless of the exit status of cmd1?

  1. cmd1 cmd2
  2. cmd1 | cmd2
  3. cmd1 ; cmd2
  4. cmd1 && cmd2
  5. cmd1 || cmd2

Answer(s): C



You have a text file with tab-separated values, but your application needs them space-separated.
What command would you use from the Bash shell to achieve this? Please fill in the command only, without any options.

  1. expand

Answer(s): A

Explanation:

The expand command is used to convert from tab to space. Example: expand -t 2 test a. It will convert the tab into two spaces.






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

Join the LCP-001 Discussion