How to use the fold command: 2-Minute Linux Tips

In this Linux tip, learn how to use the fold command. It allows you to limit the length of lines when displaying a text file by “folding” long lines into smaller pieces and, of course, you can save the shortened lines into another file.

Source:: Network World – Data Center