Shell Scripting Comments Any line starting with a hash (#) becomes comment. Comment means, that line will not take part in script…
Shell Scripting Tutorial
Shell Scripting She-bang The sign #! is called she-bang and is written at top of the script. It passes instruction to program…
Shell Scripting let command The let command is an arithmetic operator. It is almost same as (( )). Only difference is that,…
Shell Scripting Shift Through Parameters Shift command is a built-in command. Command takes number as argument. Arguments shift down by this number.…
Shell Scripting for loop The for loop moves through a specified list of values until the list is exhausted. 1) Syntax: Syntax…
Shell Scripting Sourcing a config file Many programs use external configuration files. Use of external configuration files prevents a user from making…
Shell Scripting getopts options The getopts options are used in shell scripts to parse arguments passed to them. When arguments are passed…
Shell Scripting Sourcing a file A file is sourced in two ways. One is either writting as source <fileName> or other is…
How to determine Shell You can get the name of your shell prompt, with following command : Syntax: echo $SHELL Look at…
Shell Scripting Tutorial Shell Scripting tutorial provides basic and advanced concepts of Shell Scripting. Our Shell Scripting tutorial is designed for beginners…