split Flashcards

1
Q

split

A

Output pieces of FILE to PREFIXaa, PREFIXab, …; default size is 1000 lines, and default PREFIX is ‘x’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

split –verbose

A

Display verbose information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

split -l

A

-l, –lines=NUMBER, Put NUMBER lines/records per output file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

split -b

A

-b, –bytes=SIZE, Put SIZE bytes per output file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

split -d

A

-d, Use numeric suffixes starting at -, not alphabetic.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

split -e

A

-e, –elide-empty-files, Do not generate empty output files with ‘-n’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

split -n

A

-n, –number=CHUNKS, Generate CHUNKS output files. CHUNKS may be:

N split into N files based on size of input

K/N output Kth of N to stdout

l/N split into N files without splitting lines/records

l/K/N output Kth of N to stdout without splitting lines/records

r/N like ‘l’ but use round robin distribution

r/K/N likewise but only output Kth of N to stdout

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

split -a

A

-a, –suffix-length=N, Generate suffixes of length N (default 2)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly