split -l$(expr $(expr $(wc -l filename |cut -d\ -f1) / 5) + 1) filena +me
In reply to Re^2: split a file into number of file based on line count
by Utilitarian
in thread split a file into number of file based on line count
by asha80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |