New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

Newly Released LPI 101-500 Exam PDF

Page: 17 / 17
Question 68

Which variable defines the directories in which a Bash shell searches for executable commands?

Options:

A.

BASHEXEC

B.

BASHRC

C.

PATH

D.

EXECPATH

E.

PATHRC

Question 69

Which of the following shell redirections will write standard output and standard error output to a file named filename?

Options:

A.

2>&1 >filename

B.

>filename 2>&1

C.

1>&2>filename

D.

>>filename

E.

1&2>filename

Question 70

Which grep command will print only the lines that do not end with a / in the file foo?

Options:

A.

grep'/$' foo

B.

grep '/#' foo

C.

grep -v '/$' foo

D.

grep -v '/#' foo

Question 71

In the vi editor, which of the following commands will copy the current line into the vi buffer?

Options:

A.

c

B.

cc

C.

1c

D.

yy

E.

1y

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

101-500 PDF

$25.5  $84.99
101-500 Engine

101-500 Testing Engine

$28.5  $94.99
101-500 PDF + Engine

101-500 PDF + Testing Engine

$40.5  $134.99