Nano (text editor)

show line number for current line

Ctrl + C

show line numbers

start nano with -l argument

goto line number

Ctrl + _ 

or

nano +25 filename