A shell program is called a command processor because it has to process commands according to what the user wishes to do. Along with executing commands as specified by the user it also has its own programming language and can be instructed to do things programmatically.
hai
The first command shell was 'sh', the Bourne shell (Steven Bourne).
That would be a semi-contradiction; the command line would need to be already running in order to enter a command. The name of the program that actually provides the command line is called a shell. There are many different shells available for Linux, including Bash, ash, C Shell, fish, ksh, zsh, and scsh.The default command shell is /bin/sh (not /bin/bash, note).
In an interactive shell session the shell program waits for the user to type in a command. When receiving a command the shell program will then attempt to locate it and process (execute) the command. You are interacting with the shell. Running a shell file requires a pre-stored series of commands stored in a file. Unless the shell program you are running is interactive then the shell executes each command in sequence, without involving the user at all.
The filename for the command processor shell for most Windows versions from XP and up are command.com (usually used for older DOS applications that are designed to work with Windows) and cmd.exe. They both exist in \Windows\System32.
While the command is executing, the shell waits for the process to finish.
Command processor in windows is the command prompt(cmd). To start Windows command processor use winkey + R this will open Run window.Just type in cmd and this will open command prompt of windows where you can run various commands.You can create,delete files and folders, list the directory contents and can perform many other functions in command prompt.
Program ExecutionVariable and File name Substitution I/O RedirectionPipeline HookupEnvironment ControlInterpreted Programming Language
The output would be 'shell shell' (without the quotes, of course)
The 'exit' command allows you to stop a running shell script at any point and to return a "status" value back to whomever called the shell script. This is a very common practice with shell scripts; sometimes you want to stop the script before it gets to the end of the shell script (for various logic reasons). The 'exit' command also allows you to give a status that any other calling process can use to determine if the shell script ended successfully or not.
echo $SHELL
Typically the 'exit' command gets you out of the current shell environment you are in; if this is the login shell then you will be logged out of the system.
While the command is executing, the shell waits for the process to finish.