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

LCP-001 Online Practice Questions and Answers

Questions 4

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.

A. expand

Buy Now
Questions 5

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

Buy Now
Questions 6

You are running Linux 2.0.36 and you need to add a USB mouse to your system. Which of the following statements is true?

A. You need to rebuild the kernel.

B. You need to upgrade the kernel.

C. You need to load the USB modules for your existing modular kernel.

D. USB support is no available in Linux.

Buy Now
Questions 7

Which RPM command will output the name of the package which installed the file /etc/exports?

A. rpm -F /etc/exports

B. rpm -qf /etc/exports

C. rpm -Kl /etc/exports

D. rpm -qp /etc/exports

E. rpm -ql /etc/exports

Buy Now
Questions 8

Which of the following commands will list the quota for the user foobar?

A. repquota foobar

B. quota foobar

C. lsquota foobar

D. printquota foobar

Buy Now
Questions 9

Which of the following programs is typically used to query installed debian packages? (Please select TWO that apply)

A. dpkg

B. apt-cache

C. apt-conf

D. dselect

Buy Now
Questions 10

What RPM command would show you detailed information for a package called openssh- 3.6.i386.rpm?

A. rpm --showinformation openssh-3.6.i386.rpm

B. rpm --showdetails --package openssh-3.6.i386.rpm

C. rpm --query --info --package openssh-3.6.i386.rpm

D. rpm --verify openssh-3.6.i386.rpm

Buy Now
Questions 11

In the vi editor, which of the following commands will delete the current line at the cursor and the 16 lines following it (17 lines total)?

A. 17dd

Buy Now
Questions 12

What can the tee command be used for?

A. Print the contents of a file in reverse order

B. Use the output of one command as arguments to another

C. Add line numbers to the output of a command

D. Pipe the output of one command into the input of another

E. Send a command's output to stdout and a to file at the same time

Buy Now
Questions 13

What effect does the sticky bit have when set on a directory?

A. There is no effect because the sticky bit has been deprecated in Linux.

B. It provides a hint to the kernel that files in this directory should be cached in memory, if possible.

C. It restricts deletion of files in this directory to only the root user and the file owner regardless of write permissions for other users.

D. It instructs the kernel to keep the underlying data for the files in the directory intact to allow for undeletion of important files.

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

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99