Jump to navigation
Brought to you by
what is the roll of shell in command processing?
A shell is basically a piece of software that is used as an interface for human beings to input text commands to other applications resident on a computer (including parts of the OS core itself).
It's how you use a computer when you have no graphical desktop and mouse.
Like in the 'good old days' of DOS and CP/M.
Or when you want a really secure system.
Basicaly, the shell is the terminal.
i wanna know how does shell process a command?
If your looking for the actual inner workings of how a "shell" operates I can't help you.
A Shell takes , "stdin" and processes it. stdin is standard input ie... keyboard or mouse and processes it to either stdout or stderror. standard output (what you see on the screen))
The shell is a user interface, just like a graphical desktop environment. For example, the most common shell by far on Linux is BASH, used in (I think) every form of GNU/Linux, as well as many other *nix OS's and Mac OS X.
The shell translates human-readable language into the binary commands usable by the machine, and outputs the binary outputs of programs into human-readable text (in the case of a command-line shell), or graphical output (in the case of a graphical shell)
The shell interfaces directly with the Kernel, which is where all the "real work" happens, such as invoking programs, communicating with hardware, etc.
Certain graphical programs are "front-ends," which give users a graphical interface to use existing command-line programs. These programs run commands through a Command-line shell (such as BASH), usually in a way that is not visible to the user. Other graphical programs might send commands to a graphical shell (such as the X Window System), or even directly to the kernel.
thankyou very much.
can u plz gv me some links related to command processing to clear it out more.