Name

fold [man page] - wrap each input line to fit in specified width

Synopsis

fold [OPTION]... [FILE]... 

Frequently used options

-w, --width=WIDTH
use WIDTH columns instead of 80

Examples

fold file to width of 3 characters:

fold -3 commands.txt 

fold file to width of 3 characters

ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME or create a JOB ALERT on LinuxCareers.com job portal.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in: