Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

GAQM LCP-001 Based on Real Exam Environment

Page: 6 / 11
Total 289 questions

Linux Certified Professional (LCP) Powered by LPI Questions and Answers

Question 21

When should grep -F or the fgrep command be used to search the content of text files?

Options:

A.

When files need to be searched that contain non-ASCII text.

B.

When only the presence of the search pattern needs to be reported and not every line that matches the search.

C.

When the text being searched for does not contain any regular expression patterns.

D.

When the text files will be searched multiple times. Subsequent calls to fgrep will run faster.

Question 22

You are writing text in vi. Now you want to save your changes and exit. Which TWO sequence of inputs will accomplish this?

Options:

A.

esc ZZ

B.

ctrl :w!

C.

esc zz

D.

esc :wq!

E.

ctrl XX

Question 23

Which command will display messages from the kernel that were output during the normal bootup sequence? Answer:

Options:

Question 24

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

Options:

A.

bcast

B.

mesg

C.

print

D.

wall

E.

yell

Page: 6 / 11
Total 289 questions