Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?
Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?A . 0 * * * 30 myscriptB . 30 * * * 6 myscriptC . 30 0 * * 0 myscriptD . 30 0-23 * * 0 myscriptE . 0 0-23 * *...
What output will the command seq 10 produce?
What output will the command seq 10 produce?A . A continuous stream of numbers increasing in increments of 10 until stopped.B . The numbers 1 through 10 with one number per line.C . The numbers 0 through 9 with one number per line.D . The number 10 to standard output.View...
Which of the following commands puts the output of the command date into the shell variable mydate?
Which of the following commands puts the output of the command date into the shell variable mydate?A . mydate="$(date)"B . mydate="exec date"C . mydate="$((date))"D . mydate="date"E . mydate="${date}"View AnswerAnswer: A
After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue?
CORRECT TEXT After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue? (Specify ONLY the command without any path or parameters.)View AnswerAnswer: lpq, /usr/bin/lpq,...
What is the purpose of the file /etc/profile?
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 contains environment variables that are set when a user logs in.D . It contains default application...
What is the purpose of the command mailq?
What is the purpose of the command mailq? A. It fetches new emails from a remote server using POP3 or IMAP. B. It is a multi-user mailing list manager. C. It is a proprietary tool contained only in the qmail MTA. D. It queries the mail queue of the local MTA. E. It is a...
Which of the following commands shows the current color depth of the X Server?
Which of the following commands shows the current color depth of the X Server?A . xcdB . xcdepthC . xwininfoD . xcolordepthE . cat /etc/X11View AnswerAnswer: C
What output will the following command produce?
What output will the following command produce? seq 1 5 20A . 1 6 1 1 1 6B . 1 5 10 15C . 1 2 3 4D . 2 3 4 5E . 5 10 15 20View AnswerAnswer: A
Which of the following are syslog facilities? (Choose TWO correct answers.)
Which of the following are syslog facilities? (Choose TWO correct answers.)A . local7B . mailC . advancedD . postmasterE . remoteView AnswerAnswer: A,B
When the command echo $$ outputs 12942, what is the meaning of 12942?
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 command executed.D . It is the process ID...