Scrigroup - Documente si articole

     

HomeDocumenteUploadResurseAlte limbi doc
AccessAdobe photoshopAlgoritmiAutocadBaze de dateCC sharp
CalculatoareCorel drawDot netExcelFox proFrontpageHardware
HtmlInternetJavaLinuxMatlabMs dosPascal
PhpPower pointRetele calculatoareSqlTutorialsWebdesignWindows
WordXml

AspAutocadCDot netExcelFox proHtmlJava
LinuxMathcadPhotoshopPhpSqlVisual studioWindowsXml

split linux command

linux



+ Font mai mare | - Font mai mic



split

split [option] [infile] [outfile]



Split infile into equal-sized segments. infile remains unchanged, and the results are written to outfileaa, outfileab, and so on. (default is xaa, xab, etc.). If infile is - (or missing), standard input is read. See also csplit.

Options

-n, -l n, --lines=n

Split infile into n-line segments (default is 1000).

-b n[bkm], --bytes=n[bkm]

Split infile into n-byte segments. Alternate blocksizes may be specified:

b

512 bytes

k

1 kilobyte

m

1 megabyte

-C bytes[bkm], --line-bytes=bytes[bkm]

Put a maximum of bytes into file; insist on adding complete lines.

--help

Print a help message and then exit.

--verbose

Print a message for each output file.

--version

Print version information and then exit.

Take input from the standard input.

Examples

Break bigfile into 1000-line segments:

split bigfile

Join four files, then split them into 10-line files named new.aa, new.ab, and so on. Note that without the -, new. would be treated as a nonexistent input file:

cat list[1-4] | split -10 - new.


Politica de confidentialitate | Termeni si conditii de utilizare



DISTRIBUIE DOCUMENTUL

Comentarii


Vizualizari: 662
Importanta: rank

Comenteaza documentul:

Te rugam sa te autentifici sau sa iti faci cont pentru a putea comenta

Creaza cont nou

Termeni si conditii de utilizare | Contact
© SCRIGROUP 2024 . All rights reserved