csplit This command allows you to split a larger file into two smaller ones.
Options -k keeps files even if command line fails
csplit -k data 10 {75}
This command will create up to 75 files from the file data and split them into files with 10 lines each.
The command created these files: xx00 xx01 xx02 xx03 xx04 xx05 xx06 xx07 xx08 xx09 xx10 xx11 xx12 xx13 xx14 xx15 xx16 xx17 xx18 xx19 Here is the output of looking at one of those files using the cat command: cat xx18
terminfo timezone ucf.conf udev updatedb.conf vim vnc.conf w3m wgetrc X11
|