Ensurepass

QUESTION 141 CORRECT TEXT

What application can be used in place of xhost? Please enter only the name without path.

Answer: xauth


QUESTION
142 CORRECT TEXT

What command with all options and/or parameter will send the signal USR1 to any executing process of program apache2?

Answer: killall -s SIGUSR1 apache2


QUESTION
143

What command line redirection characters instruct the shell to read from the current input source until a specific word, on a separate line and without and trailing spaces, is reached?

A. << 

B. <l

C. !<

D. $<

Answer: A


QUESTION
144

Pressing the Ctrl-C combination on the keyboard while a command is executing in the foreground sends which of following signal codes?

A. 1 (SIGHUP)

B. 2 (SIGINT)

C. 3 (SIGQUIT)

D. 9 (SIGKILL)

E. 15 (SIGTEPM)

Answer: B


QUESTION
145 CORRECT TEXT

Consider the following output:

prompt> myapp

[1]+ Stopped myapp

This output was the result of the user pressing the keyboard combination of the Ctrl key and what

letter key? Enter only the single (1) letter as your answer

Answer: z


QUESTION
146

What is the output when the following shell script executes?

Cat <<foobar

Hello foobar

foobar

A. The contents of the file foobar

B. Hello

C. No output but a file named foobar is created

D. Hello foobar

E. Hello foobar

Answer: D


QUESTION
147

Which of the following commands will display the last 30 lines of /var/log/bigd.log as well as new content as it is appended to the file by another process?

A. cut -30 -v /var/log/bigd.log

B. head -30 -e /var/log/bigd.log

C. tail -f -n 30 /var/log/bigd.log

D. tac -30 /var/log/bigd.log

E. cat -r -n 30 /var/log/bigd.log

Answer: C


QUESTION
148

You wish to kill a process with a PID of 123. Select the command which will allow the process to “clean up” before exiting.

A. kill -1 123

B. kill -9 123

C. kill -15 123

D. kill -17 123

Answer: C


QUESTION
149

Which of the following commands will change all CR-LF pairs in an imported text file, userlist.txt, to Linux standard LF characters and store it as newlist.txt?

A. tr ‘\r\n’ ” < userlist.txt > newlist.txt

B. tr -c ‘\n\r’ ” < newlist.txt > userlist.txt

C. tr -d ‘\r’ < userlist.txt > newlist.txt

D. tr ‘\r’ ‘\n’ userlist.txt newlist.txt

E. tr -s ‘^M’ ‘^J’ userlist.txt newlist.txt

Answer: C


QUESTION
150

Which of the following commands will find the string foo in the file filel.txt, regardless of foo being in upper or lowercase letters?

A. cat file1.txt | grep -i foo

B. cat file1.txt > grep -n foo

C. grep -i foo | file1.txt

D. grep -n file1.txt < foo

E. grep -n foo file1.txt

Answer: A

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

Comments are closed.