Explain how you would use crontab to schedule a script that finds and removes your old temporary files in /tmp at the start of each day.

What will be an ideal response?

The script uses find with the –mtime argument to find all files older than one day and the –exec
argument to remove them. When setting up the crontab file, use “*” for all specifications except
hours and minutes so that it runs every day at the specified time.

Computer Science & Information Technology

You might also like to view...

In the original IPv4 classful address scheme, was it possible to determine the class of an address from the address itself? Explain.

What will be an ideal response?

Computer Science & Information Technology

A Linux client can participate in the Windows environment by using the ____ program.

A. CIFSCLI B. SMBFETCH C. WINCLIENT D. SMBCLIENT

Computer Science & Information Technology