Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?
A. cat < myapp | cat > file1.log
B. myapp 0>&1 | cat > fi...
A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?
A. rmdir '~/\dir'
B. rmdir "~/\dir"
C. rmdir ~/'dir'
D. rmdir ~/\d...
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?
A. i (lowercase)
B. ...
What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?
A. 9
B. 19
C. 49
D. 99
Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files?
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 123
In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?
A. -dirmax
B. -maxdepth
C. -maxlevels
D....