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

Explore more Topics under UNIX

Q121.
In a system, if 5 people are currently using the vi editor. then the number of corresponding processes will be

a.

1

b.

5

c.

2

d.

0

Discuss
Answer: (b).5
Discuss
Answer: (d).Both (a) and (c)
Discuss
Answer: (d).All of these
Q124.
The advantage of binary files over text files is that
Discuss
Answer: (d).All of these
Q125.
The permission bits of a file noname, can be set to _rws_ _x_ _x by the command.
Discuss
Answer: (d).None of the above
Discuss
Answer: (d).All of these
Q127.
If one doesn't want anyone else to read or write to a file named datfile, except through a program in a file filex , then he may use
Discuss
Answer: (d).Both (a) and (b)
Q128.
Writing a C program that accepts input from keyboard, rather than from a file is advantageous because
Discuss
Answer: (c).Both (a) and (b)
Q129.
Which of the following string functions can be used to find the last occurrence of a given character in a given string?
Discuss
Answer: (c).strchr
Q130.
Consider the program:

main ( )
{
printf("He arose a victor from\n");
system ("date") ;
printf("the dark domain");
}

If a.out is the executable code corresponding to the above source code, then the command a.out > out f
Discuss
Answer: (a).Redirects the output of date to file out f

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!