how to change the text editor for crontab code example Example: corntab using nano EDITOR=nano crontab -e. This will use nano only for that execution.