Filtering Commands MCQsBy: Prof. Dr. Fazal Rehman | Last updated: May 30, 2025 21 Score: 0 Attempted: 0/21 Subscribe 1. : If we want to specify our own delimiter, which of the following is used with the paste command? (A) -d (B) -c (C) -a (D) -e 2. : For joining lines, which of the following is used with the paste command? (A) -s (B) -c (C) -a (D) -e 3. : Which of the following command is used for extracting specific columns from a file? (A) tail (B) head (C) pr (D) cut 4. : cut -c -3 emp will cut column numbers: (A) 3 (B) 1 (C) 1-3 (D) 0 5. : To cut fields, which of the following is used with the cut command? (A) -c (B) -n (C) -f (D) -a 6. : To cut fields, which of the following is the default delimiter used by the cut command? (A) space (B) tab (C) double tab (D) underscore 7. : To extract bytes instead of lines, which of the following is used with the tail command? (A) -f (B) -n (C) -c (D) -a 8. : To cut field based on the value of a specified delimiter, which of the following is used with the cut command? (A) -a (B) -f (C) -d (D) -e 9. : For cutting fields or columns while using the cut command, we have to specify whether we want? (A) True (B) False Answer: (A) True 10. : To paste files, which command is used? (A) cut (B) paste (C) tail (D) head 11. : If we want to specify our own delimiter, which of the following is used with the paste command? (A) -d (B) -c (C) -a (D) -e 12. : To join lines, which of the following is used with the paste command? (A) -s (B) -c (C) -a (D) -e 13. : Incorrect command is: (A) $ cut -d “|” -f 1,4 emp.lst (B) $ cut -c -3 emp.lst (C) $ tail -c -511 foo (D) $ tail -c 500 foo 14. : To extract bytes instead of lines, which of the following is used with the tail command? (A) -f (B) -n (C) -c (D) -a 15. : Which command is used for extracting specific columns from a file? (A) tail (B) head (C) pr (D) cut 16. : cut -c -3 emp will cut columns number? (A) 3 (B) 1 (C) 1-3 (D) 0 17. : To cut fields, which of the following is used with the cut command? (A) -c (B) -n (C) -f (D) -a 18. : To cut fields, which of the following is the default delimiter used by the cut command? (A) space (B) tab (C) double tab (D) underscore 19. : To paste files, which command is used? (A) cut (B) paste (C) tail (D) head 20. : To cut field based on the value of our specified delimiter, which of the following is used with the cut command? (A) -a (B) -f (C) -d (D) -e 21. : There is an incorrect command among the following: (A) $ cut -d “|” -f 1,4 emp.lst (B) $ cut -c -3 emp.lst (C) $ tail -c -511 foo (D) $ tail -c 500 foo Related Posts:Important MS-DOS Commands, Top 30 CommandsSorting and filtering data in tables MCQs - MS WordSorting and filtering data - Excel MCQsBook Recommendation System using Collaborative Filtering Project in PHP or ASP.NETModifying Commands MCQsCommands for Searching, Replacing, and Substituting in Vi Editor MCQS