"Linux Commands" splitting large files split-l xxx split-b xxx

Source: Internet
Author: User

On a Linux host, cut a large file into n small files

(1) Split by byte 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 August 1 14:49 itable_transfer_145028.138.21.log

-rw-rw-r--. 1 Billapp billapp 1048576 August 3 18:33 XAA
-rw-rw-r--. 1 Billapp billapp 938925 August 3 18:33 Xab

(2) Split split-l 100000 itable_transfer_145028.138.21.log by number of rows

"Linux Commands" splitting large files split-l xxx split-b xxx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.