Vidyalelo
Computer Science · Q185

Linux

Engineering and GATE · Computer Science · question 185

Q185

The command "awk print 1 test.txt" will

A.
print the first line of file test.txt
B.
print the first field of every line in test.txt
Answer
C.
generate syntax error
D.
none of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board