1.
The command dbmaint & was used to run dbmaint in the background. However, dbmaint is terminated after logging out of the system. Which alternative dbmaint invocation lets dbmaint continue to run even when the user running the program logs out?
2.
FILL BLANK
Which program runs a command in specific intervals and refreshes the display of the program's output? (Specify ONLY the command without any path or parameters.)
Correct Answer: watch
Section: (none)
Explanation
Explanation/Reference:Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?
3.
Which of the following commands changes all CR-LF line breaks in the text file userlist.txt to Linux standard LF line breaks and stores the result in newlist.txt?
4.
What output will be displayed when the user fred executes the following command? echo 'fred $USER'
5.
Which of the following commands displays the path to the executable file that would be executed when the command foo is invoked?
6.
Which of the following files, located in a user's home directory, contains the Bash history?
7.
Which of the following commands redirects the output of ls to standard error?
8.
Which of the following commands displays the contents of a gzip compressed tar archive?
9.
Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
10.
Which of the following regular expressions represents a single upper-case letter?