I had a couple of questions that I was hoping someone could help me with?
- chmod +x script.sh
- where exactly should we declare this (within the file or terminal because in the exercise to do with bash scripting (web development career path) it wasn’t used at all).
- what does this actually mean and how comes it wasn’t used in the exercise? I think what it’s trying to delcare PATH (an environment variable containing scripts for bash to run) as the location of the script file, but I don’t understand the use of $PATH.