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 2 of 18

Q11.
tee is an internal command.
Discuss
Answer: (b).False
Discuss
Answer: (a).it is a feature of the shell
Q13.
Apart from its use in redirection, /dev/tty can also be used as an argument to some commands.
Discuss
Answer: (a).True
Q14.
Which of the following meta-character is used in command substitution?
Discuss
Answer: (a).`
Q15.
Command substitution is enabled in single quotes also.
Discuss
Answer: (b).False
Q16.
POSIX recommends the use of ____ instead of archaic `command ` for command substitution.

a.

|

b.

#

c.

%

d.

$

Discuss
Answer: (d).$
Q17.
Which of the following shell doesn’t support the command substitution using $ recommended by POSIX?
Discuss
Answer: (d).bourne
Q18.
Which symbol is used for assigning a value to variables?

a.

$

b.

&

c.

=

d.

@

Discuss
Answer: (c).=
Q19.
Which symbol is used for evaluation of variables?

a.

$

b.

&

c.

=

d.

@

Discuss
Answer: (a).$
Q20.
Which of the following is a correct initialization of variables to null strings?
Discuss
Answer: (d).x=, x=’ ‘, x=” “
Page 2 of 18

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!