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

LCP-001 Online Practice Questions and Answers

Questions 4

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

A. top

B. nice

C. loadavg

D. cpustat

E. ps

Buy Now
Questions 5

What command will remove duplicate lines from a sorted file?

A. filter

B. trim

C. uniq

D. wc

Buy Now
Questions 6

You have read/write permission on an ordinary file foo. You have just run ln foo bar. What would happen if you ran rm foo?

A. foo and bar would both be removed.

B. foo would be removed while bar would remain accessible.

C. foo would be removed. bar would still exist but would be unusable.

D. Both foo and bar would remain accessible.

E. You would be asked whether bar should be removed.

Buy Now
Questions 7

You are compiling some software from source. After running ./configure with the appropriate arguments and no errors, what is the next command to run?

A. make

Buy Now
Questions 8

How do you get a list of files that have been installed from a dpkg package?

A. dpkg -l pkgname

B. dpkg -C pkgname

C. dpkg -s pkgname

D. dpkg -S pkgname

E. dpkg -L pkgname

Buy Now
Questions 9

When installing XWindows the monitor wasn't recognised but now a data sheet with its specification is available. Which xorg.conf section must be edited to specify the correct values for several variables?

A. Screen

B. Monitor

C. Border

D. Modeline

E. Device

Buy Now
Questions 10

The command echo $! will produce what output?

A. the process id of last background command

B. the exit status of the last command

C. the exit status of the last background command

D. the process id of the current shell

E. the name of the command being executed

Buy Now
Questions 11

You are having some trouble with a disk partition and you need to do maintenance on this partition but your users home directories are on it and several are logged in. Which command would disconnect the users and allow you to safely execute maintenance tasks?

A. telinit 1

B. shutdown -r now

C. killall -9 inetd

D. /bin/netstop --maint

E. /etc/rc.d/init.d/network stop

Buy Now
Questions 12

The system is having trouble and the engineer wants to bypass the usual /sbin/init startup and run /bin/sh. What is the usual way to pass this change to the kernel from your boot loader?

A. Start in runlevel 1

B. Pass init=/bin/sh on the kernel parameter line

C. Pass /bin/sh on the kernel parameter line

D. Pass start=/bin/sh on the kernel parameter line

Buy Now
Questions 13

Which of the following commands will print the amount of disk space used by files specified on the command line?

A. dc

B. dd

C. df

D. du

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

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99