1. Explain two ways to execute a shell script.
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.
chmod +x deploy.sh ./deploy.sh