Vcehome > GAQM > Linux Certified Professional (LCP) > LCP-001 > LCP-001 Online Practice Questions and Answers

LCP-001 Online Practice Questions and Answers

Questions 4

The___________command allows you to view or change serial port configuration.

A. setserial

B. /bin/setserial

Browse 289 Q&As
Questions 5

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

Browse 289 Q&As
Questions 6

You are installing Linux on a workstation for a new employee. Which partition should be largest?

A. /

B. /boot

C. /lib

D. /usr

Browse 289 Q&As
Questions 7

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

A. pppd

B. wvdial

C. papd

D. kppp

Browse 289 Q&As
Questions 8

You have an updated RPM called screensaver-1.1.i386. rpm. You have version 1.0 installed. Using RPM, how do you view the changelog of this file to see if you should install the update?

A. rpm -qp --changelog screensaver-1.1.i386. rpm

B. rpm --changelog screensaver-1.1.i386. rpm

C. rpm -qc screensaver-1.1.i386. rpm

D. rpm -showchangelog screensaver-1.1.i386. rpm

Browse 289 Q&As
Questions 9

You are running X in networked environment. You want to allow anyone on your network to display their X applications on your desktop. What command can you use to disable all access control for X?

A. xhost +

Browse 289 Q&As
Questions 10

Which Debian package system command will list all partially installed packages and suggest how to get them correctly installed?

A. dpkg -C

B. apt-get -u

C. dpkg -Dh

D. dpkg -l

E. apt-get -y

Browse 289 Q&As
Questions 11

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

Browse 289 Q&As
Questions 12

In the vi editor, what vi command will copy (but not paste) from the current line at the cursor and the following 16 lines (17 lines total)? Enter the correct vi command without spaces.

A. 17yy

Browse 289 Q&As
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

Browse 289 Q&As
Exam Code: LCP-001
Exam Name: Linux Certified Professional (LCP) Powered by LPI
Last Update: May 12, 2024
Questions: 289 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99