split Command Purpose Splits a file into pieces. Syntax split [ - Number ] [ File ] [ Prefix ] Description The split command reads the specified file and writes it in Number-line pieces (default 1000 lines) to a set of output files. The name of the first output file is constructed by combining the specified prefix (x by default) with aa, the second by combining the prefix with ab, and so on lexicographically, through zz (a maximum of 676 files). You cannot specify a Prefix longer than 12 characters. If you do not specify an input file or if you specify a file name of - (minus), the split command reads standard input. Flag -Number Specfies the number of lines put in each piece of the set of output files. The default is 1000 lines. Examples 1. To split a file into 1000-line segments: split book This splits book into 1000-line segments named xaa, xab, xac, and so forth. 2. To split a file into 50-line segments and specify the file name prefix: split -50 book sect This splits book into 50-line segments named sectaa, sectab, sectac, and so forth. Implementation Specifics This command is part of base operating system (BOS) Runtime. Files /usr/bin/split Contains the split command. Suggested Reading Prerequisite Information Understanding Files introduces you to files and the way you can work with them. Input and Output Handling User'sOverview describes how the operating system processes input and output. Related Information The csplit command.