QUESTION 141 CORRECT TEXT
What application can be used in place of xhost? Please enter only the name without path.
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
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?
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)
QUESTION 145 CORRECT TEXT
Consider the following output:
+ 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
What is the output when the following shell script executes?
A. The contents of the file foobar
C. No output but a file named foobar is created
D. Hello foobar
E. Hello foobar
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
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
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
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
Download Latest LPI 117-101 DUMPS Real Free Tests , help you to pass exam 100%.