nano show row number code example
Example 1: nano with line numbers
nano --linenumbers [filename]
Example 2: display number of lines in nano linux
Press
Alt+#
or
Alt+Shift+3
nano --linenumbers [filename]
Press
Alt+#
or
Alt+Shift+3