Shell: An intermediary Between the User and the Inner Workings of the Operating System

This is a computer science engineering quiz on UNIX, which includes questions on Shell (a program that acts as an intermediary between the user and the inner workings of the operating systems).

images.jpg
Start Quiz

Shell provides us with an interface to the operating system.

True False

There can be multiple kernels on a single UNIX system.

True False

What is the default symbol for command prompt in C shell?

$ % # @

Which one of the following command will display the name of the shell we are working on?

echo shell echo $ echo $SHELL echo $$

Which shell is the most common and best to use?

Korn shell POSIX shell C shell Bash shell

Which of the following commands is used to display the filenames in multiple columns with indication of directories and executable file?

ls -F -x ls -l ls ~ x Ip None of the above

Which command is used with vi editor to search a pattern in the forward direction?

/ ? // ?? None of the above

The command to count the number of files in the current directory by using pipes, is

ls | wc ls -l | wc -l ls | wc -w ls | ws -c None of the above

Which of the following commands is used to update access and modification times of a file?

grep wc touch cat None of the above

On a UNIX system, there can be ____ shells running simultaneously.

1

2

Many

4

The prompt issued by the shell is called ______

Prompt

Command translator

Command prompt

Command executor

Which command does not terminates unless we log out of the system?

History

Shell

Echo

Login

In UNIX there are ___ major types of shells.

2

3

4

Many

In Shell’s interpretive cycle, the shell first scans for ____ in the entered command.

Characters

Priority

Meta-characters

Wildcards

The agency that sits between the user and the UNIX system is called the

Logic

Profile

Shell

Erxc

None of the above

Quiz/Test Summary
Title: Shell: An intermediary Between the User and the Inner Workings of the Operating System
Questions: 15
Contributed by:
james