Shell/Bash: nano with line numbers Example

By

Shell/Bash Example: This is the "nano with line numbers" Example. compiled from many sources on the internet by SimpleTutorials.org

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.



* Summary: This "nano with line numbers" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others