Split merged files using split in Linux
We use the split command to complete:
Usage: Split [option] ... [Enter [prefix]]
Splits the input into a fixed size fragment and outputs to the prefix AA, prefix ab,... ;
The default is to split the unit by 1000 behavior and the default prefix is "x". If you do not specify a file, or
Person file is "-", the data is read from standard input.
Parameters that must be used for long options are also required for short options.
&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; -A,--suffix-length=n specifies that the suffix length is N (default is 2)
-B,--bytes= size specifies the byte size of each output file
-C,--line-bytes= size specifies the maximum line byte size in each output file
-D,--numeric-suffixes uses numeric suffixes instead of letter suffixes
-L,--lines= number specifies how many rows per output file
--verbose output file characteristics before each output file opens
--HELP displays this help information and exits
--version display version information and exit
The SIZE can be an optional integer followed by one of the following units:
KB 1000,k 1024,mb 1000*1000,m 1024*1024, and G, T, P, E, Z, Y.
[Root@localhost/] #split-b1440k a_whopping_big_file Chunk
[Root@localhost/] #cat chunk* > A_whopping_big_file