How to Open Crontab with Nano

By Birtchum Thompson | March 13, 2020

Nano is an extremely user-friendly text editor for Linux. Learn how to use nano to edit crontab files.

With some Linux distributions like Ubuntu, the option to set the default text editor for crontab files is provided the first time you open a crontab file. However, other distributions take an extremist approach to crontabs and set Vim, Vi, or even Emacs as the default text editor. Not cool. Thankfully, a solution has been found after years of laborious research. Open a terminal and enter the following command to open a crontab file with Nano.

 Bash
Share this Content

Join the Discussion

Also Read

White Bash Logo
Check Exit Status of Bash Command

Check a Bash command exit status in a script.

UFW, Ubuntu, and firewall logos on dark grey background
Allow SMB in UFW

Allow SMB traffic in UFW on Ubuntu & Debian.

Python logo and red trash can
Delete Files Older than X Days in Python

Create a Python script to delete files older than x days.

Blue KDE Logo
Configure Screen Locking Shortcut in KDE

Learn to configure the screen locking shortcut in KDE.