Operating System [3i Infotech Placement]: Sample Questions 10 - 11 of 81

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 10

Operating System

Question

MCQ▾

The UNIX shell ________

Choices

Choice (4)

a.

Does not give any scope for programming

b.

Does not come with the rest of the system

c.

Forms the interface between the user and the kernel

d.

Does not allow calling one program from within another

Answer

c.

Explanation

  • A Shell provides an interface to the Unix system.
  • It gathers inputs and executes programs based on that input forming an interface between the user and the kernel.
  • When a program finishes executing, it displays program՚s output.
  • Shell provides and environment to run user commands, programs, and shell scripts.
  • There are different flavours of a shell each with its own set of recognized commands and functions.
Different Flavours of a Shell

Question 11

Operating System
Edit

Describe in Detail

Essay▾

What is a shell?

Explanation

Understanding the Structure of Shell
  • Shell is a UNIX term in the operating system- a layer of programming that understands and executes the commands a user enters.
  • The shell is called a command interpreter.
  • A shell usually implies an interface with command syntax.
  • The shell gets started on login and provides quick way to execute utilities
  • A shell is not part of system kernel, but uses system kernel to execute programs and create files.
  • Following are various ways to get shell access:
    • Terminal
    • Connect via secure shell
    • Use the console

Developed by: