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.
Red Hat Certified System Administrator (RHCSA) · Red Hat
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