PrepAway - Latest Free Exam Questions & Answers

Which of the following commands would display the lines containing capital letters form the file "turkey.

Which of the following commands would display the lines containing capital letters form the file “turkey.txt”?

PrepAway - Latest Free Exam Questions & Answers

A.
cat turkey.txt|wc -|

B.
grep -n [A-Z] turkey.txt

C.
cat turkey.txt|wc -w [A-Z]

D.
grep -v [A-Z] < turkey.txt

E.
for [A-Z] in turkey.txt | count


Leave a Reply