Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 4 of 33
Free Preview · 33 of 108 · questions 1–33 of 108 are free. Sign up free to sync your progress across devices.
Hotspot Scenario
Select the appropriate option to complete the statement. Click Check Answer below to see the marked solution.
Hotspot Solution:
23 14 * * * echo "hello" can't display hello on terminal. should force echo "hello" > /dev/pts/0(may different to your tty). I test on RockyLinux Rocky Linux 8.4 (Green Obsidian). Please correct if I am wrong.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
# crontab -e 23 14 * * * echo "hello" # systemctl restart crond # crontab -l
vim /etc/crontab 23 14 * * * echo "hello "
crontab -e min hr * * * /bin/echo "hello" crontab -l #to verify vi /etc/cron.deny #to stop a user from creating a cron job username #add the username in the file