I am trying to learn nano installed on my server (ubuntu 1204), but the problem is whenever I open a file in nano editor it opens the file (say a shell script) as one big line rather than with line breaks which fit the screen.
Is it possible to open files with linebreaks in nano? I have tried googling this problem, but couldn’t find anything which works.
Any help would be much appreciated.
Ctrl+J and the lines "broken".