Shell |
types: sh: Shell, Bash: Bourne again shell, ksh: korn shell, csh: c shell. |
#cat/etc/shells | list all shell supported by sytem, defualt is bash shell (bourne again shell)type |
#echo $shell | display default shell (/bin/bash) |
#cat/etc/passwd | grep username | display defualt shell used by a user |
#ksh or #csh | switch to different shell and type exit to come back |
She-Bang | #! it describe on which shell the script should run |
parameter | which stores the value, ex. variable is a parameter which stores a value. |
which cat | it will find whether cat command exist and which location which is define in PATH |
echo $ PATH | shows paths, commands available in the given locations |