Ensurepass

QUESTION 201

What can the tee command be used for?

A. Print the contents of a file in reverse order

B. Use the output of one command as arguments to another

C. Add line numbers to the output of a command

D. Pipe the output of one command into the input of another

E. Send a command’s output to stdout and a to file at the same time

Answer: E


QUESTION
202

Which key do you press to switch to normal mode in vi?

A. Alt

B. Esc

C. Ctrl

D. Shift

Answer: B


QUESTION
203 CORRECT TEXT

The priority of any process can range from -20 to ________ . (Provide only the numerical value)

Answer:

19

+19


QUESTION
204

Which directory contains additional information about installed packages?

A. /usr/share/documentation

B. /usr/local/share/documentation

C. /usr/local/doc

D. /usr/share/doc

E. /usr/packages/doc

Answer: D


QUESTION
205

Which of the following commands will replace every instance of the word list with LIST from the file myfile.txt and print the results on the screen?

A. sed –in-place -e “s/list/LIST/” myfile.txt

B. sed -e “s/list/LIST/” myfile.txt

C. sed –in-place -e “/list/LIST/” myfile.txt

D. sed -e “/list/LIST/” myfile.txt

Answer: B


QUESTION
206 CORRECT TEXT

To change the priority of a running process, you use the _______ command (Specify command only with no options.)

Answer:

renice

/usr/bin/renice


QUESTION
207

Which of the following commands will NOT execute the bash script /usr/local/bin/runme.sh?

A. source /usr/local/bin/runme.sh

B. . /usr/local/bin/runme.sh

C. /bin/bash /usr/local/bin/runme.sh

D. /usr/local/bin/runme.sh

E. run /usr/local/bin/runme.sh

Answer: E


QUESTION
208

What is the default process priority when a process is started using the nice command?

A. -10

B. 10

C. 20

D. 0

Answer: B


QUESTION
209

Which of the following commands will NOT update the Modify timestamp on the file /tmp/myfile.txt?

A. file /tmp/myfile.txt

B. echo “Hello” >/tmp/myfile.txt

C. sed -i “s/1/2/” /tmp/myfile.txt

D. echo -n “Hello” >/tmp/myfile.txt

E. touch /tmp/myfile.txt

Answer: A


QUESTION
210 CORRECT TEXT

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.

Answer: 17yy

Download Latest LPI 117-101 DUMPS Real Free Tests , help you to pass exam 100%.

Comments are closed.