A shell is a program that interprets commands and acts as an interface between application layer and kernel of OS A Linux shell is command interpreter that interprets a user command which are directly entered by user or which can be read from a file called as shell programming or shell. You can get the name of your shell prompt, with following command : Shell Scripts Syntax: #echo $SHELL Output: /bin/bash When a group of commands has to execute regularly, it isbetter to store in a file. All such files are called shell scripts, shell program, or shell The extension is .sh is used for shell program scripting. You can get the name of your shell prompt, with followingprocedures. Steps to create shell scripts 1. Open the terminal. Go to the directory where you want tocreate your script. 2. Create a file using vi editor(or any other editor). Name thescript file with extension .sh 3. To run your script in a certain shell, start your script with #!followed by the shell name. T...
Engage with tech Interactives in fun way, Learn while having fun