Winter Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bigdisc65

LPI 101-500 Questions Answers

Page: 16 / 17
Question 64

What command will generate a list of user names from /etc/passwd along with their login shell?

Options:

A.

column -s : 1,7 /etc/passwd

B.

chop -c 1,7 /etc/passwd

C.

colrm 1,7 /etc/passwd

D.

cut -d: -f1,7 /etc/passwd

Question 65

Regarding the command:

nice -5 /usr/bin/prog

Which of the following statements is correct?

Options:

A.

/usr/bin/prog is executed with a nice level of -5.

B.

/usr/bin/prog is executed with a nice level of 5.

C.

/usr/bin/prog is executed with a priority of -5.

D.

/usr/bin/prog is executed with a priority of 5.

Question 66

Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

Options:

A.

fmt -f 1,4 /etc/passwd

B.

split -c 1,4 /etc/passwd

C.

cut -d : -f 1,4 /etc/passwd

D.

paste -f 1,4 /etc/passwd

Question 67

What does the + symbol mean in the following grep regular expression:

grep '^d[aei]\+d$' /usr/share/dict/words

Options:

A.

Match the preceding character set ([aei]) one or more times.

B.

Match the preceding character set ([aei]) zero or more times.

C.

Match the preceding character set ([aei]) zero or one times.

D.

Match a literal + symbol.

Page: 16 / 17
Exam Code: 101-500
Exam Name: LPIC-1 Exam 101, Part 1 of 2, version 5.0
Last Update: Nov 21, 2024
Questions: 243
101-500 pdf

101-500 PDF

$28  $80
101-500 Engine

101-500 Testing Engine

$33.25  $95
101-500 PDF + Engine

101-500 PDF + Testing Engine

$45.5  $130