Question
Linux+ Guide to Linux Certification Project 9-5 In this hands-on project, you schedule processes by using the at and crontab utilities. 1. On your Fedora
Linux+ Guide to Linux Certification Project 9-5 In this hands-on project, you schedule processes by using the at and crontab utilities. 1. On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of LNXrocks!. 2. Schedule processes to run 1 minute in the future by typing the command at now + 1 minute at a command prompt, then press Enter. 3. When the at> prompt appears, type the word date > /root/datefile and press Enter. 4. When the second at> prompt appears, type the word who >> /root/datefile and press Enter. 5. When the third at> prompt appears, press the Ctrl+d key combination to finish the scheduling and observe the output. When will your job run? Where will the output of the date and who commands be sent? 6. In approximately one minute, type cat datefile and press Enter. View the output from your scheduled at job. 7. At the command prompt, type crontab -l and press Enter to list your cron table. Do you have one? 8. At the command prompt, type crontab -e and press Enter to edit a new cron table for the root user. When the vi editor appears, add the line: 30 20 * * 5 /bin/false
9. When you finish typing, save and quit the vi editor and observe the output on the termi- nal screen.
10. At the command prompt, type crontab -l and press Enter to list your cron table. When will the /bin/false command run?
11. At the command prompt, type cat /var/spool/cron/root and press Enter to list your cron table from the cron directory. Is it the same as the output from the previous command?
12. At the command prompt, type crontab -r and press Enter to remove your cron table.
13. Type exit and press Enter to log out of your shell.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started