Wrap line text - make line break after certain numbers of characters in Ubutnu shell
Line wrap text from a Ubuntu Linux terminal is possible with the application fold.
You can also use files with input and output:
fold -sw 50 input.txt > output.txt