Contents[Hide]

1. Name

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

2. Synopsis

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

3. Frequently used options

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

4. Examples

fold file to width of 3 characters:

fold -3 commands.txt 

fold file to width of 3 characters



Free Linux eBooks

Do you have the right skills?

Our IT Skills Watch page reflects an up to date IT skills demand leaning towards the Linux and Unix environment. We have considered a number of skills and operating systems.

See the result...

Linux Online Training

Learn to run Linux servers and prepare for LPI certification with Linux Academy. 104 available video lessons with PDF course notes with your own server!

Go to top