Display Line Numbers in nano
September 6th, 2013 38,245
nano is a popular text editor for Linux/UNIX.
In order to display line numbers, edit global configuration file (or user file /home/user/.nanorc)
nano /etc/nanorc
Go to line 45 (approximately) and uncomment (or add)
set const
Your comments are welcomed!
Sign-up for our free email
newsletter. Get updates when new
tutorials and tips are published. You can unsubscribe
anytime with a click.
Your comments are welcomed!
This site actively encourages commenting on any post. Comments are not pre-moderated, but this community does not tolerate direct or indirect attacks, name-calling or insults. Please, read terms of use and Comment Policy at privacy policy.