To execute a shell script (a text file containing shell commands), you typically use
./script.sh extension.
Replace "script.sh" with the actual name of your shell script.
Ensure the script has executable permissions set using the following chmod command if needed:
chmod +x script.sh
This makes the script executable, allowing you to run it using the ./ notation.