4. WHAT IS LINUX SHELL ?
• Interface provided for user interaction.
• It is a command interpreter which reads from standard input / file and
executes them
• Shell is an environment in which we can run our commands, programs,
and shell scripts
5.
6. EXECUTING SCRIPT
Executing in bash shell
Execute by making executable
Change the permission of script using command
Type the following to see the output #bash <filename> Another shell (child
shell) is created and the script is run and once the script is completed it exits
from the child shell
The execution takes place in the same shell Type the
following to see the output #./<filename>
8. ADVANTAGE
• Shell script is much quicker than
programming in any other languages.
• To automate the frequently performed
tasks.
• Easy to use and understand. Non-geeks can
also modify scripts.