Pass4itsure > GAQM > GAQM Certifications > LCP-001 > LCP-001 Online Practice Questions and Answers

LCP-001 Online Practice Questions and Answers

Questions 4

Which command will print to standard out only the lines that do not begin with # (pound symbol) in the file foobar?

A. /bin/grep ^# foobar

B. /bin/grep -v ^# foobar

C. /bin/grep #$ foobar

D. /bin/grep -v #$ foobar

Buy Now
Questions 5

What program is needed to establish a PPP link to another computer?

A. pppd

B. wvdial

C. papd

D. kppp

Buy Now
Questions 6

What would the following line accomplish if run as root? chown -R bert /home/bert/*

A. Nothing, this command is invalid.

B. It would revoke bert's ownership of all files in /home/bert to bert.

C. It would change user ownership of all files in /home/bert to bert.

D. It would set the group ownership of the directory /home/bert to bert

E. It would set ownership of all files and subdirectories in /home/bert to bert

Buy Now
Questions 7

Which command is used to dump files in octal format?

A. od

B. octdump

C. dumpoct

D. cat -o

Buy Now
Questions 8

You are looking for an executable file foo. Select the command that would search for foo within directories set in the shell variable, PATH.

A. locate

B. which

C. find

D. query

E. whereis

Buy Now
Questions 9

Which of these commands allows you to use shared libraries that are in /usr/local/lib?

A. export LD_PRELOAD=/usr/local/lib

B. export LD_LIBRARY_PATH=/usr/local/lib

C. ldconfig /usr/local/lib

D. ldd /usr/local/lib

Buy Now
Questions 10

Which key do you press to switch to normal mode in vi?

A. Alt

B. Esc

C. Ctrl

D. Shift

Buy Now
Questions 11

Which directory contains additional information about installed packages?

A. /usr/share/documentation

B. /usr/local/share/documentation

C. /usr/local/doc

D. /usr/share/doc

E. /usr/packages/doc

Buy Now
Questions 12

Which of the following is true when hard-linked files are present?

A. The output of stat will report "hard" instead of "regular file"

B. The hard-linked files may not be empty

C. Both files will share the same inode

D. Issuing a long directory listing with ls -1 will indicate the link with "->"

E. The file permissions will be prefixed by an "h", eg. hrwxr-x-r-x

Buy Now
Questions 13

Which command will show you the contents of a gzip compressed tar archive?

A. gzip archive.tgz | tar xvf

B. tar ztf archive.tgz

C. gzip -d archive.tgz | tar tvf

D. tar cf archive.tgz

Buy Now
Exam Code: LCP-001
Exam Name: Linux Certified Professional (LCP) Powered by LPI
Last Update: May 24, 2026
Questions: 289
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99