Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

JDBC Database Programming With J2ee

Authors: Art Taylor

1st Edition

0130453234, 978-0130453235

More Books

Students also viewed these Databases questions

Question

Explain the nature of human resource management.

Answered: 1 week ago

Question

Write a note on Quality circles.

Answered: 1 week ago

Question

Describe how to measure the quality of work life.

Answered: 1 week ago

Question

=+what information would you need about the compact disc industry?

Answered: 1 week ago