Without exiting vi, how can the file be reopened for editing with the new content?
While editing a file in vi, the file changes due to another process. Without exiting vi, how can the file be reopened for editing with the new content?A . :r B. :n C. :w D. :eView AnswerAnswer: D
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)A . shutdown -R 1 now B. shutdown -single now C. init 1 D. telinit 1 E. runlevel 1View AnswerAnswer: C,D
To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program's shared libraries?
To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program's shared libraries?A . LD_LOAD_PATH B. LD_LIB_PATH C. LD_LIBRARY_PATH D. LD_SHARE_PATH E. LD_RUN_PATHView AnswerAnswer: C
While /tmp/file contains data, why is /tmp/file empty afterwards?
When running the command sed -e "s/a/b/" /tmp/file >/tmp/file While /tmp/file contains data, why is /tmp/file empty afterwards?A . The file order is incorrect. The destination file must be mentioned before the command to ensure redirection. B. The command sed did not match anything in that file therefore the output...
What is the difference between the i and a commands of the vi editor?
What is the difference between the i and a commands of the vi editor?A . i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modesautomatically. B. i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor. C....
Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?
Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?A . kill -PIPE 123 B. kill -KILL 123 C. kill -STOP 123 D. kill -TERM 123View AnswerAnswer: D
Which option to the yum command will update the entire system?
CORRECT TEXT Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)View AnswerAnswer: update, upgrade
Which command will display messages from the kernel that were output during the normal boot sequence?
CORRECT TEXT Which command will display messages from the kernel that were output during the normal boot sequence?View AnswerAnswer: dmesg, /bin/dmesg
Which of the following files, located in the user home directory, is used to store the Bash history?
Which of the following files, located in the user home directory, is used to store the Bash history?A . .bash_history B. .bash_histfile C. .history D. .bashrc_history E. .history_bashView AnswerAnswer: A
Which of the following kernel parameters instructs the kernel to suppress most boot messages?
Which of the following kernel parameters instructs the kernel to suppress most boot messages?A . silent B. verbose=0 C. nomesg D. quietView AnswerAnswer: D