Problem Statement
Explain two ways to execute a shell script.
Explanation
You can execute a script by running bash scriptname.sh, which starts a new shell.
Alternatively, make it executable using chmod +x scriptname.sh and run it directly with ./scriptname.sh from the terminal.
Code Solution
SolutionRead Only
chmod +x deploy.sh ./deploy.sh