- Home
- Uncategorized
- Modifying Crontab With Nano When Another Editor Set as Default
Modifying Crontab With Nano When Another Editor Set as Default
The Problem
Ever get to a client’s linux server and try to edit or modify a cron job, only to run sudo crontab -e and realize there is so insane text editor set to the default. This guide will help you open the text file with the ever helpful nano program
The Solution
sudo env EDITOR=nano crontab -e