Suppose you have a file test.txt Contain 9 columns which of the following you will use to extract 9 column from the file test.txt and store in a file Result.txt?

  1. awk '{print $9}' test.txt > Result.txt

  2. awk '{print $9}' Result.txt > test.txt

  3. awk '{print $9}' Test.txt > result.txt

  4. awk '{print $9}' result.txt > Test.txt


Correct Option: A

Find more quizzes: