adplus-dvertising

Welcome to the Unix System MCQs Page

Dive deep into the fascinating world of Unix System with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Unix System, a crucial aspect of Operating System. In this section, you will encounter a diverse range of MCQs that cover various aspects of Unix System, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within Operating System.

frame-decoration

Check out the MCQs below to embark on an enriching journey through Unix System. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of Operating System.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Unix System. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Unix System MCQs | Page 1 of 17

Q1.
Which symbol will be used with grep command to match the pattern pat at the beginning of a line?
Discuss
Answer: (a).^pat
Q2.
Which command is used to sort the lines of data in a file in reverse order
Discuss
Answer: (d).sort -r
Q3.
Which command is used to display the top of the file?
Discuss
Answer: (b).head
Q4.
Which command is used to copy all files having the string chap and any two characters after that to the progs directory?
Discuss
Answer: (a).cp chap?? progs
Q5.
Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3?
Discuss
Answer: (a).chmod u+x emp[1-3]
Q6.
Which command is used to remove a directory?
Discuss
Answer: (b).rmdir
Q7.
Which of the following keys is used to replace a single character with new text?

a.

S

b.

s

c.

r

d.

C

Discuss
Answer: (b).s
Q8.
Which command is used to extract specific columns from the file?
Discuss
Answer: (b).cut
Q9.
Which command sends the word count of the file infile to the newfile.
Discuss
Answer: (a).wc infile >newfile
Q10.
Which command is used to remove the read permission of the file 'note' from both the group and others?
Discuss
Answer: (d).chmod go-r note
Page 1 of 17

Suggested Topics

Are you eager to expand your knowledge beyond Operating System? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!