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

Explore more Topics under UNIX

Q91.
Which of the following symbol(s) can be used to redirect the output to a file or another program?
Discuss
Answer: (d).|, > and >>
Q92.
The >> symbol is used to overwrite the existing file if it exists.
Discuss
Answer: (b).False
Q93.
Which file descriptor is used to represent standard error stream?

a.

0

b.

1

c.

2

d.

3

Discuss
Answer: (c).2
Q94.
We can redirect the error message to file named newfile using __________ command.
Discuss
Answer: (d).cat foo 2>errorfile
Q95.
The category of commands which uses both standard input and standard output are called ____
Discuss
Answer: (c).filters
Q96.
The contents of file001 are:

232
25*50

What will be the contents of result.txt?

bc < file001 > result.txt
Discuss
Answer: (c).429467296, 1250
Q97.
Which of the following files are known as special files in UNIX?
Discuss
Answer: (d)./dev/null and /dev/tty
Q98.
The size of /dev/null is always zero.
Discuss
Answer: (a).True
Q99.
Which symbol is used to redirect error messages to /dev/null?

a.

%

b.

$

c.

>

d.

<

Discuss
Answer: (c).>
Q100.
Which file is used for indicating terminals?
Discuss
Answer: (a)./dev/tty

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!