Linux fold command

Need to set a default width to a CLI output? Check out the fold command:

$ echo “A B C D E F G H I J K L M N O P Q R S T U V W X Y Z” | fold -w 16

Output:
A B C D E F G H
I J K L M N O P
Q R S T U V W X
Y Z

posted 10 months ago