When using Nano text editor, how can I display line numbers so I can see the lines that I am getting error messages about. I have a lengthy program and am getting an error message for line 95 and 125 for example.
nano -c /path/to/file
~/.nanorc and add the following
For more details - as mentioned by Nick - check this perfect answer.