How do you edit and save crontab file in Linux?

How do you edit and save crontab file in Linux?
Answer
How do you edit and save crontab file in Linux?
  1. press esc.
  2. press i (for “insert”) to begin editing the file.
  3. paste the cron command in the file.
  4. press esc again to exit editing mode.
  5. type :wq to save ( w – write) and exit ( q – quit) the file.
 

Tìm kiếm

Back
Top