Ubuntu - xargs - Limit Output per Line

Use the -n option to specify the number of arguments you are limiting xargs to.

echo "1 2 3 4 5 6 7 8 9" | xargs -n 3

returns:

1 2 3
4 5 6
7 8 9