The dpkg- command will ask configuration questions for a specified package, just as if the package were being installed for the first time.
In the vi editor, what vi command will copy (but not paste) from the current line at the cursor and the following 16 lines (17 lines total)? Enter the correct vi command without spaces. (Please enter only a single answer.)
What command with all options and/or parameters will send the signal USR1 to any executing process of program apache2?
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
Which of the following command lines would an administrator use to restrict the GNU find command to searching a particular number of subdirectories?
A. --max-dirs
B. -dirmax
C. -maxdepth
D. -s
E. -n
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.
Which of the following commands will print the inode usage on each mounted filesystem?
A. du -i
B. df -i
C. lsfs -i
D. printfs -i
Which of the following commands will print to standard out only the lines that do not begin with # (pound symbol) in the file foobar?
A. /bin/grep ^# foobar
B. /bin/grep -v ^# foobar
C. /bin/grep #$ foobar
D. /bin/grep -v #$ foobar
To ensure that a running process continue to execute after you log out, the process should be started with which of the following commands?
A. nohup
B. fg
C. live
D. sh