Process Text Files Flashcards

OBJ 3.1

1
Q

printf command

A

Provides the user with more control over how the output is formatted

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

tr command

A

Perform operations like removing repeated characters, converting uppercase to lowercase, and basic character replacement and removal

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

sort command

A

Command line utility for sorting lines of text files

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

wc command

A

Allows users to count the number of lines, words, characters, and bytes in file and print the result

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

diff command

A

Used to compare text files

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

diff <

A

Line should be removed from the first file

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

diff >

A

Line should be added from the second file

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

awk

A

Performs pattern matching on files

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

/regular_expression/

A

Retrieves all the records beginning with “a”, “b”, or “c”

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