nano with line numbers
nano --linenumbers [filename]
display number of lines in nano linux
Press
Alt+#
or
Alt+Shift+3
nano add line numbers
according to the man page for nanorc, you can add set linenumbers in ~/.nanorc, /etc/nanorc, $XDG_CONFIG_HOME/nano/nanorc or ~/.config/nano/nanorc.
nano show line numbers
To show line numbers along the side: ALT + SHIFT + 3
To show cursor position at the bottom: ALT + C (or CTRL + C for temporary)
nano with line numbers
-l, --linenumbers
Display line numbers to the left of the text area.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us