PrepAway - Latest Free Exam Questions & Answers

Which two commands could you include in the script to obtain this information?

You have been required to write a script that checks daily to see if at jobs are scheduled to run. Which two commands could you include in the script to obtain this information? (Choose two)

PrepAway - Latest Free Exam Questions & Answers

A.
atq

B.
jobs

C.
queued

D.
ls 1 /var/spool/atjobs

E.
ls 1 /var/spool/cron/atjobs

Explanation:

A and E perform the same task. The command atq lists the contents of the /var/spool/atjobs directory


Leave a Reply