There are two ways to execute any shell script in Linux. One is by specifying the script as an argument to your shell, and another is by specifying the script’s absolute or relative path.