MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

UNIX

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Shell Program is stored in a file called
A
Unix
B
Sh
C
Dd
D
Cc
Explanation: 

Detailed explanation-1: -Q #5) Shell programs are stored in which file? Answer: Shell programs are stored in a file called sh.

Detailed explanation-2: -A shell script or sh-file is something between a single command and a (not necessarily) small programm. The basic idea is to chain a few shell commands together in a file for ease of use. So whenever you tell the shell to execute that file, it will execute all the specified commands in order.

Detailed explanation-3: -Description. The sh command invokes the default shell and uses its syntax and flags. The shell linked to the /usr/bin/sh path is the default shell. The standard configuration of the operating system links the /usr/bin/sh path to the Korn shell.

Detailed explanation-4: -sh is a command line shell program described by the POSIX standard. It works on Linux, Mac OS X, and BSD Unix-based operating systems. There are many different ways to implement it. On most operating systems (including Linux), sh is implemented by programs called “shells” like bash, zsh, and csh.

Detailed explanation-5: -sh (Bourne shell) is a shell command-line interpreter, for Unix/Unix-like operating systems. It provides some built-in commands.

There is 1 question to complete.