nano edit crontane -r code example Example: corntab using nano EDITOR=nano crontab -e. This will use nano only for that execution.