adplus-dvertising

Welcome to the Unix Shell MCQs Page

Dive deep into the fascinating world of Unix Shell with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Unix Shell, a crucial aspect of UNIX. In this section, you will encounter a diverse range of MCQs that cover various aspects of Unix Shell, 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 UNIX.

frame-decoration

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

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

Unix Shell MCQs | Page 8 of 18

Q71.
Wildcards are special characters which are used to replace or represent one or more characters.
Discuss
Answer: (a).True
Q72.
Which of the following is not a wild-card?

a.

*

b.

?

c.

$

d.

%

Discuss
Answer: (c).$
Discuss
Answer: (d).lists all filenames in the current directory
Q74.
Which command would be most suitable to remove the following files?
dirx diry dirz dirzw
Discuss
Answer: (a).rm dir?
Q75.
Which of the following files will not be deleted using “rm chap??” ?
Discuss
Answer: (d).chactd
Q76.
Which of the following command will list all the hidden filenames in our directory having at least three characters after the dot (.) ?
Discuss
Answer: (c).ls .???*
Q77.
* and ? cannot match ____
Discuss
Answer: (d)./ and .
Q78.
rm chap0[1234] will delete all of the following files.

chap01 chap02 chap03 chap04
Discuss
Answer: (a).True
Q79.
Which of the following files will not be listed using the following command?

ls chap0[1-4]
Discuss
Answer: (b).chap05
Q80.
Which of the following symbol is used for negating the character class?

a.

.

b.

*

c.

!

d.

%

Discuss
Answer: (c).!

Suggested Topics

Are you eager to expand your knowledge beyond UNIX? 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!