Split (Unix)

Split (Unix)

split is a Unix utility most commonly used to split a file into two or more smaller files.

Usage

The command-syntax is: split "(optional parameters)" "(input filename)" "(output filename)"

The default behavior of split is to generate output files of up to 1000 lines. The files are named by appending "aa", "ab", "ac", etc. to "output filename". If "output filename" is not given, the default filename of "x" is used, for example, "xaa", "xab", etc. When a hyphen ("-") is used instead of "input filename", data is derived from standard input.

To join the files back together again use the cat command cat xaa xab xac > filename

or

cat xa [a-c] > filename

Additional program options permit a maximum character count (instead of a line count), a maximum line length, how many incrementing characters in generated filenames, and whether to use letters or digits.

Manual

*


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Split (Unix) — Saltar a navegación, búsqueda El programa split es una utilidad de los sistemas operativos tipo Unix, usada para partir un archivo en uno o más de menor tamaño. De ahí su nombre, que en inglés significa partir. Sintaxis: split [parámetros… …   Wikipedia Español

  • split (Unix) — split ist ein Computerprogramm, das eine Datei in mehrere Dateien gleicher Größe aufspaltet. Er findet Verwendung in Unix und Linuxderivaten und deren Shells. Zum Zusammenfügen aufgeteilter Dateien dient das Programm cat. Beispiel: shell/ :split… …   Deutsch Wikipedia

  • split (Unix) — El programa split es una utilidad de los sistemas operativos tipo Unix, usada para partir un archivo en uno o más de menor tamaño. De ahí su nombre, que en inglés significa partir. Sintaxis: split [parámetros opcionales] [archivo de entrada]… …   Wikipedia Español

  • Split (disambiguation) — Split is the largest coastal city in Croatia.From its common usage to refer to a division of parts, split may also refer to:Arts and entertainment* A split (poker), dividing of winnings in the card game * A split (ten pin bowling) where multiple… …   Wikipedia

  • Split (Begriffsklärung) — Split bezeichnet: eine Stadt in Kroatien, siehe Split eine Wertänderung bei Aktien, siehe Aktiensplit eine Musikveröffentlichung mehrerer Künstler, siehe Split (Veröffentlichung) die Anteile der verschiedenen Verkehrsmittel am Gesamtverkehr,… …   Deutsch Wikipedia

  • Unix — (officially trademarked as UNIX, sometimes also written as Unix with small caps) is a computer operating system originally developed in 1969 by a group of AT T employees at Bell Labs, including Ken Thompson, Dennis Ritchie, Douglas McIlroy, and… …   Wikipedia

  • split — команда, копирующая файл и разбивающая его на отдельные файлы заданной длины. В качестве аргументов ей надо указать имя исходного файла и префикс имен выходных файлов. Имена выходных файлов будут составляться из этого префикса и двух… …   Википедия

  • Split — команда, копирующая файл и разбивающая его на отдельные файлы заданной длины. В качестве аргументов ей надо указать имя исходного файла и префикс имен выходных файлов. Имена выходных файлов будут составляться из этого префикса и двух… …   Википедия

  • UNIX — Генеалогическое древо UNIX систем UNIX (читается юникс) семейство переносимых, многозадачных и многопользовательских …   Википедия

  • Unix — Генеалогическое древо UNIX систем UNIX (читается юникс)  группа переносимых, многозадачных и многопользовательских операционных систем. Первая система UNIX была разработана в 1969 г. в подразделении Bell Labs компании AT T. С тех пор было создано …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”