Tuesday, 26 December 2017

CompTIA LX0-102 Question Answer

Which of the following commands will print the exit value of the previous command to the screen in bash?

A. echo $?
B. echo $#
C. echo $exit
D. echo $status
E. echo $&}

Answer: A



Which of the following statements about crontab are true? (Select TWO).

A. Every user may have their owncrontab.
B. Changing a crontab requires a reload/restart of the cron daemon.
C. The cron daemon reloads crontab files automatically when necessary.
D. hourly is the same as "0 * * * *".
E. A cron daemon must run for each existing crontab.

Answer: AC

No comments:

Post a Comment

Note: only a member of this blog may post a comment.