A shell script is a type of computer program that contains a set of commands that are executed in sequence. It is usually written in a scripting language such as Bash, Python, or Perl.
Example:
#!/bin/bash
echo “Hello World!”
echo “This is a shell script!