LCP-001 Exam Details

  • Exam Code
    :LCP-001
  • Exam Name
    :Linux Certified Professional (LCP) Powered by LPI
  • Certification
    :GAQM Certifications
  • Vendor
    :GAQM
  • Total Questions
    :289 Q&As
  • Last Updated
    :May 24, 2026

GAQM LCP-001 Online Questions & Answers

  • Question 161:

    Which of the following commands will write a message to the terminals of all logged in users?

    A. bcast
    B. mesg
    C. print
    D. wall
    E. yell

  • Question 162:

    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?

    A. sed 's/foo/foobar/g' file1.txt
    B. sed 's/foo/foobar/g' file1.txt > file1.txt
    C. sed 's/foo/foobar/g' file1.txt | file1.txt
    D. sed -i 's/foo/foobar/g' file1.txt
    E. sed -i 's/foo/foobar/g' file1.txt > file1.txt

  • Question 163:

    To prevent a command run as root from sending both standard out (stdout) and standard error (stderr) to any terminal or other file or device, which of the following strings should be appended to the command?

    A. >/dev/null
    B. >/dev/null 1>and2
    C. >/dev/null 2>and1
    D. 1>and2 >/dev/null
    E. 2>and1 >/dev/null

  • Question 164:

    Where can lilo place boot code?

    A. The boot ROM
    B. The boot RAM
    C. The /boot partition
    D. The MBR on a hard drive

  • Question 165:

    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:

    A. :!ls -l myfile
    B. :\ls -l myfile
    C. esc :ls -l myfile
    D. :?ls -l myfile

  • Question 166:

    The___________command allows you to view or change serial port configuration.

    A. setserial
    B. /bin/setserial

  • Question 167:

    In order to append the output of ls to a file called bazz, which of the following command lines would you use?

    A. ls > bazz
    B. ls > and bazz
    C. ls and> bazz
    D. ls >> bazz

  • Question 168:

    What command will uninstall a package but leave its configuration files in case a package is re-installed?

    A. none, no command will do this
    B. dpkg -s pkgname
    C. dpkg -L pkgname
    D. dpkg -P pkgname
    E. dpkg -r pkgname

  • Question 169:

    Which command will print out the attributes of the file foobar?

    A. ls --attr foobar
    B. lsattr foobar
    C. printattr foobar
    D. fileattr foobar

  • Question 170:

    Which chown command will change the ownership to dave and the group to staff on a file named data.txt?

    A. chown dave/staff data.txt
    B. chown -u dave -g staff data.txt
    C. chown -user dave -group staff data.txt
    D. chown dave:staff data.txt

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only GAQM exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your LCP-001 exam preparations and GAQM certification application, do not hesitate to visit our Vcedump.com to find your solutions here.