QUESTION 31 CORRECT TEXT
You wish to execute two commands, one after the other. However, you only want the second command to execute if the first is successful. Which character(s) do you put between the commands on the command line to accomplish this?
In the vi editor, which of the following commands will delete the current line at the cursor and the 16 lines following it (17 lines total)?
QUESTION 33 CORRECT TEXT
You wish to send the output of a command to standard output (stdout) and save it to a file. The command to use is ______________. (Do not specify arguments)
What key sequence will suspend the current process and return you to a shell prompt?
Which TWO commands will find the path for the binary vim?
A. man vim
B. whereis vim
C. apropos vim
D. which vim
Answer: B, D
QUESTION 36 CORRECT TEXT
What command returns the first few lines of a given file?
What command changes the priority of the process running with process id of 12345 to the highest priority?
A. /usr/bin/renice +20 1234
B. /usr/bin/renice -20 12345
C. /bin/setpriority +20 12345
D. /bin/setpriority -20 12345
You want to save vi changes to the file myfile with :w!, but vi complains it can not write to the file. Therefore, you want to check the write permissions on the file. To do this without leaving vi, you type:
A. :!ls -l myfile
B. :\ls -l myfile
C. esc :ls -l myfile
D. :?ls -l myfile
Which of the following GNU commands would be the most likely command you’d use to find the system load average?
Which of the following commands is equivalent to kill 1234?
A. kill -1 1234 or kill -s SIGHUP 1234
B. kill -2 1234 or kill -s SIGINT 1234
C. kill -3 1234 or kill -s SIGQUIT 1234
D. kill -9 1234 or kill -s SIGKILL 1234
E. kill -15 1234 or kill -s SIGTERM 1234
Download Latest LPI 117-101 DUMPS Real Free Tests , help you to pass exam 100%.