Operating Systems Specialist MCQs By: Prof. Dr. Fazal Rehman | Last updated: May 30, 2025 11 Score: 0 Attempted: 0/11 Subscribe 1. : We can skip some initial bytes from both the files to be compared by using ______ (A) -b option (B) -i option (C) -l option (D) -n option 2. : For displaying the differences between files, what command do we use? (A) comm (B) cmp (C) diff (D) differ 3. : For producing multi-columnar output in diff command, what option do we use? (A) -s (B) -v (C) -y (D) -e 4. : What command can we use if we are interested in knowing whether the two files are identical or not? (A) cmp (B) diff (C) comm (D) differ 5. : If we want to suppress column 1 and column 2 in the output of comm command, what command will we use? (A) comm -1,-2 (B) comm -1-2 (C) comm -3 (D) comm -12 6. : What will be the output of diff command when two files are identical? (A) Returns prompt (B) Files are identical (C) No output (D) Throws an error 7. : For comparing two files, what command do we use? (A) diff (B) comp (C) cmp (D) comm 8. : If both the files are identical, the exit status of cmp command is ______ (A) 1 (B) 0 (C) 2 (D) Undefined 9. : For displaying a detailed list of mismatches, which option do we use with cmp command? (A) -l (B) -b (C) -f (D) -a 10. : Two sorted files line by line are compared by ______ (A) cmp (B) comm (C) diff (D) sort 11. : For limiting the number of bytes to be compared, which option do we use with cmp command? (A) -f (B) -l (C) -n (D) -b Related Posts:Operating systems (OS), Examples of operating systems, Advantages of operating systemsMCQS for ppsc subject specialist cs it computer science CSSyllabus and MCQs of PPSC INSPECTOR LEGAL SPECIALIST CADRE POLICE2024 – Subject Specialist, Senior Teacher General Syllabus MCQs [AJK PSC Kashmir]Surgical Specialist Syllabus AJK PSC KashmirMedical Specialist Syllabus AJK PSC Kashmir