Shell Scripting Comments Any line starting with a hash (#) becomes comment. Comment means, that line will not take part in script…
she bang
-
-
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 Functions With the help of functions, overall functionality of a function can be divided into smaller or logical parts, which can…
-
Shell Scripting Variables Scripts can contain variables inside the script. Look at the above snapshot, two variables are assigned to the script…
-
Troubleshooting a shell script There is one more way other than script execution to run a script in a different shell. Type…
-
Steps to write and execute a script Open the terminal. Go to the directory where you want to create your script. Create…
-
Shell Scripting until loop It is similar to while loop. The only difference is that until statement executes its code block while…
-
What is Shell Scripting In Linux, shells like bash and korn support programming construct which are saved as scripts. These scripts become…
-
Shell Scripting while loop Linux scripting while loop is similar to C language while loop. There is a condition in while. And…