split命令

按行数分割:

split -l 300 access.log new_file_prefix

按字节大小分割:

split -b 10m access.log new_file_prefix