Q8
Which command is used to extract specific columns from the file?
A.
cat
B.
cut
AnswerC.
grep
D.
paste
E.
None of the above
Answer: Option B
Solution
Answer: Option B
Solution:
In Unix, the cut command is used to extract specific columns from a file. It allows you to specify which columns you want to extract based on delimiters like space or tab.So, cut is the correct command to extract specific columns from a file.