Which command is used to extract columns from a file to work on them later?
A. tr
B. tee
C. wc
D. cut
查看答案
Which of the following grep commands can be used to print out all of the lines that do not match the specified pattern?
A. grep -C 3 [pattern]
B. grep -v [pattern]
C. grep [pattern]
D. grep -w [pattern]
Which commands can be used to print the lines that contain the numbers 0–5 in a file? Select all answers thst apply.
A. grep [0,1,2,3,4,5] filename
B. grep [0-5] filename
C. grep [-e0 -e1 -e2 -e3 -e4 -e5] filename
D. grep {0-5} filename
In search patterns, what is the syntax to match the end of the string?
A. .
B. ^
C. $
D. *
Which command will combine two files that share a common field?
A. merge
B. paste
C. join
D. cat