An administrator has sent their current vi process with a PID of 1423 to the background on the command line. Assuming no other processes are in the background, what single command with no options or parameters will bring the vi process to the foreground?
Which command will display messages from the kernel that were output during the normal bootup sequence? (Please enter only a single command and do not enter duplicate answers in this field.)
An administrator wishes to kill a process with a PID of 123. Which of the following commands 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
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)?
A. 17d
B. 17dd
C. 17x
D. d17d
E. 16d
In the command foo < bar | foobar, which of the following statements is correct?
A. The stdout from the command foobar is saved to the file foo.
B. The stdout from the command foo is saved to the file foobar.
C. The command foobar receives its stdin from the stderr of foo.
D. The command foobar receives its stdin from the stdout of foo.
E. The command bar receives its stdin from the contents of the file foobar.
All of the following commands will execute the bash script /usr/local/bin/runme.sh EXCEPT:
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
An administrator is experimenting with a binary in /tmp/foo.d that expects its configuration file at /etc/foo.conf. The administrator does not want to save it there, but use a symbolic link to /tmp/foo.d/foo.conf instead. Which of the following commands would accomplish this?
A. ln -s /tmp/foo.d/foo.conf /etc/foo.conf
B. ln /tmp/foo.d/foo.conf /etc/foo.conf
C. ln -s /etc/foo.conf /tmp/foo.d/foo.conf
D. ln /etc/foo.conf /tmp/foo.d/foo.conf
Which of the following commands will uninstall a package but leave its configuration files in case a package is re-installed?
A. None, no command will do this.
B. dpkg -s pkgname
C. dpkg -L pkgname
D. dpkg -P pkgname
E. dpkg -r pkgname
In compliance with the FHS, in which of the following places are man pages typically found?
A. /usr/share/man
B. /opt/man
C. /usr/doc/
D. /var/pkg/man
E. /usr/local/man