Nano (text editor)

goto line number

Ctrl + _ 

or

nano +25 filename