split [OPTION]... [INPUT [PREFIX]]
:根据行或者大小拆分文件
split file_name
:默认把文件file_name拆分成xaa,xab,xac,......
默认每1000行拆分一次,默认的“PREFIX”为“x”,默认后缀为长度为2的字母,即aa,ab,ac,ad,ae,.....
-a:后缀的长度
-b :指定拆分后文件的大小
-d : 后缀为数字,默认为00,01,02,03,04,......
-l :指定拆分后文件的最大行数
-n:拆分生成CHUNKS文件
CHUNKS常用说明:
l/n:把文件拆分成n个文件,保证每行完整(是字母l,不是数字1)。