Linux big file split command

Source: Internet
Author: User
Linuxsplit command function description: Cut files. Syntax: split [-- help] [-- version] [-& lt; number of rows & gt;] [-B & lt; byte & gt;] [-C & lt; byte & gt;] [-l & lt; number of rows & gt;] [file to be cut] [output file name] Note: split can cut the file into smaller files

Linux split command

Function description: cut a file.

Syntax: split [-- help] [-- version] [- <Number of rows> ] [-B <Byte> ] [-C <Byte> ] [-L <Number of rows> ] [File to be cut] [output file name]

Note: split can cut the file into smaller files. by default, each 1000 lines can be cut into a smaller file.

Parameters:

- <Number of rows> Or-l <Number of rows> Specify the number of rows to be split into a small file.

-B <Byte> Specify the number of words to be cut into a small file. Supported units: m, k

-C <Byte> Similar to the-B parameter, the integrity of each line is maintained whenever possible during cutting.

-- Help: displays help.

-- Version: displays the version information.

[Output file name] sets the prefix file name of the cut file. split will automatically add a number after the prefix file name.

Example:

Split-B 100 m filename

 

Related Article

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.