Nano mit Zeilennummern
nano --linenumbers [filename]
Rich Raccoon
nano --linenumbers [filename]
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 -l foo.txt
nano --linenumbers foo.txt