Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)
A. The user issuing the command must be ...
What is the purpose of the file /etc/profile?
A. It contains the welcome message that is displayed after login.
B. It contains security profiles defining which users are allowed to log in.
C. It cont...
Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?
A. SELECT order_type,COUNT(*) FROM orders WHERE order_type=order_type;
...
Which of the following words is used to restrict the records that are returned from a SELECT SQL query based on a supplied criteria for the values in the records?
A. CASE
B. FROM
C. WHERE
D. IF
When the command echo $$ outputs 12942, what is the meaning of 12942?
A. It is the process ID of the echo command.
B. It is the process ID of the current shell.
C. It is the process ID of the last co...
How can the existing environment variable FOOBAR be suppressed for the execution of the script ./myscript only?
A. unset -v FOOBAR;./myscript
B. set -a FOOBAR="";./myscript
C. env -u FO...
What is the difference between the commands test -e path and test -f path?
A. They are equivalent options with the same behaviour.
B. The -f option tests for a regular file. The -e option tests for a...