A bash (or shell) script is basically a program that allows the user to interact with the UNIX/Linux system by writing executable shell commands in a simple text file.
What is shell script explain with example?
A shell script is a text file that contains a sequence of commands for a UNIX-based operating system. … A shell script is usually created for command sequences in which a user has a need to use repeatedly in order to save time.
What is a shell script in Linux?
BASH (Bourne Again SHell) – It is most widely used shell in Linux systems. It is used as default login shell in Linux systems and in macOS. It can also be installed on Windows OS. CSH (C SHell) – The C shell’s syntax and usage are very similar to the C programming language.