Unix

Q1: Which command is used to extract specific columns from the file?

A cat

B cut

C grep

D paste

E None of the above

ANS:B - cut

We can extract specific columns from the file using 2 ways.

1. cut -f 1,2 -d ' ' filename.
2. awk '{print $1 " " $2}' filename.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.