Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)
A. uptime
B. up
C. top
D. uname -u
E. time -up
When given the following command line.
echo "foo bar" | tee bar | cat
Which of the following output is created?
A. cat
B. foo bar
C. tee bar
D. bar
E. foo
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 mentione...
Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)
A. find /tmp -uid...
Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?
A. magic
B. type
C. file
D. pmagic
E. hash
Which of the following command sets the Bash variable named TEST with the content FOO?
A. set TEST="FOO"
B. TEST = "FOO"
C. var TEST="FOO"
D. TEST="FOO"
What happens after issuing the command vi without any additional parameters?
A. vi starts and loads the last file used and moves the cursor to the position where vi was when it last exited.
B. vi sta...
Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?
A. SIGTERM
B. SIGINT
C. SIGSTOP
D. SIGKILL