Skip to content

Instantly share code, notes, and snippets.

@barseghyanartur
Created July 20, 2020 12:02
Show Gist options
  • Save barseghyanartur/9d3c773200da247f2c7f74edc597acbf to your computer and use it in GitHub Desktop.
Save barseghyanartur/9d3c773200da247f2c7f74edc597acbf to your computer and use it in GitHub Desktop.
Show line numbers in nano

Open the nanorc file:

nano ~/.nanorc

Turn on line-numbers feature by pasting the following into the nanorc:

set linenumbers

Opening nano will now automatically show the line numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment