split command can be used to split a large file into small files.
Options:
-b : Split files based on size
-l: Split file based on number of lines
Example:
Split the file into 20 MB pieces
$ split -b 20M filename
Split the file based up on the number of lines
$ split -l 1500 filename
No comments:
Post a Comment