Breaks in the nano editor

I am trying to learn nano installed on my server (ubuntu 1204), but the problem is that whenever I open a file in the nano editor, it opens the file (say, the shell script) as one big line, not a line that fit the screen.

Can I open files with linebreaks in nano? I tried to solve this problem, but could not find anything that works.

Any help would be greatly appreciated.

+6
source share
1 answer

Ctrl + J and the lines are broken.

+8
source

All Articles