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, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in: