Nano avec des numéros de ligne
nano --linenumbers [filename]
Rich Raccoon
nano --linenumbers [filename]
ALT + SHIFT + # for ubuntu
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
Accidentally found nice shortcut: Alt+#, which in some keyboard layouts can be done with Alt+Shift+3.