fold Command Examples

Wrap each line in an input file to fit a specified width and print it to stdout. More information: https://manned.org/fold.1p.

fold {{path/to/file}}

fold -w30 {{path/to/file}}

fold -w5 -s {{path/to/file}}