2.13 Flashcards

1
Q

Prints just the columns or fields that you specify to the standard output

A

cut

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

Replaces a tab character with a specified number of spaces.

A

expand

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

Formats lines in a file or text stream to a uniform length

A

fmt

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

Combines text from two files based on identical fields and sends the result to standard output.

A

join

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

Places a line number in front of each line in a text file and send the result to standard output

A

nl

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

Displays the contents of any file in octal, decimal, hexadecimal, or character format

A

od

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

Adds the contents of one file to the contents of another file on a line-by-line basis.

A

paste

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

Formats a text file for printing.

A

pr

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

Takes text or commands from the command line as input and modifies the text document named in the command line

A

sed

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

Creates reports based on the data you retrieve from files, builds databases, or performs mathematical operations against numbers in text files

A

awk

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

Sorts each line of text in a file or from a text stream alphabetically.

A

sort

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

Transposes characters in a text stream

A

tr

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

Changes spaces into a tab

A

unexpand

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

Filters identical lines from a file.

A

uniq

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

Prints the number of bytes, characters, lines, or words, or the length of the longest line from the text of a file or text stream

A

wc

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