标签:linux命令 linu ble table lin 字节 切割 spl strong
linux主机上,将一个大文件切割成N个小文件
(1)按字节拆分 split -b 1m itable_transfer_145028.138.21.log
>>>>split -b 1m itable_transfer_145028.138.21.log
---------------------------------------
-rw-rw-r--. 1 billapp billapp 1987501 8月 1 14:49 itable_transfer_145028.138.21.log
-rw-rw-r--. 1 billapp billapp 1048576 8月 3 18:33 xaa
-rw-rw-r--. 1 billapp billapp 938925 8月 3 18:33 xab
(2)按行数拆分 split -l 100000 itable_transfer_145028.138.21.log
【Linux命令】拆分大文件 split -l xxx split -b xxx
标签:linux命令 linu ble table lin 字节 切割 spl strong
原文地址:https://www.cnblogs.com/JamieFish/p/9415749.html