What command must you enter to edit this file?

You wish to edit your crontab file that is located in /var/spool/cron/crontab. What command must
you enter to edit this file?

You wish to edit your crontab file that is located in /var/spool/cron/crontab. What command must
you enter to edit this file?

A.
crontab –e

B.
crontab –e /var/spool/cron/crontab

C.
crontab –r

D.
crontab –e /etc/default/cron

Explanation:
The main tool for setting up cron jobs is the crontab command, though this is not

available on every Unix variant. Typically under Solaris or Linux one would create a new crontab
or edit an existing one, using the command;
crontab -e
Use the ls -l command to verify the contents of the/var/spool/cron/crontabs file.
Reference: System Administration Guide: Advanced Administration, Creating and Editing crontab
Files



Leave a Reply 2

Your email address will not be published. Required fields are marked *

three + 19 =


Dupek

Dupek

A is the correct
man crontab
-e Edits a copy of the current user’s crontab file, or
creates an empty file to edit if crontab does not
exist. When editing is complete, the file is installed
as the user’s crontab file.