|
CentOS Linux Server Guide |
Centos Linux Command Line Operation |
||||
What is a shell?
A shell is an interpreter within human and kernel. It is a layer of programming language that understand and executes commands from the a file or a standard input device, for example keyboard. Please take note that shell is not part of the Linux kernel system. A shell usually implies an interface with a command syntax (think of the DOS operating system and its "C:>" prompts. For CentOS and other linux distros, it look like this [
or
So? Why must we need a shell? Can we communicate with kernel directly? The answer is NO. This because both human and machines (system) are 'talking' in different language (still remember the movie- The Matrix, where the green codes running at the background?). Thus we need a medium to understand those binaries and then understand, translate and execute the code for us.
There are few available shell for command Linux distros.
Unless, you specify which shell to be used for your system. BASH is the default is the default shell for CentOS Linux (and most of the distro).
To see what shell that you are currently using use "echo $SHELL" command
To check on the ALL users that the shell you are using, login as root, the show the contents of /etc/passwd
|
||||
|
Copyright 2011 http://www.1a-centosserver.com All Rights Reserved All trademarks are the property of their respective owners. Contact Us | Terms of Use | Privacy Policy |