- Is the file
start-all.sh located in a directory that’s in your
- Does the file
start-all.sh have execute permission set for yourself an/or the user group you belong to?
If the answer to the first question is “no”, then you can get around that in two ways, i.e.:
- Prepend the name of the file with an absolute or relative path. For instance, if you are in the directory where the file is located, then you can start it with…
- Add the directory to your
~/.zshrc, like so…
In the latter case, you will have to log out and back in for the changes to take effect.
If the file does not have execute permission for you, change its permissions. If the file is owned by you, you can do…
chmod 755 start-all.sh
If it’s not owned by you, you’ll have to prepend the command with
sudo chmod 755 start-all.sh
However, you will still need to keep the condition into account regarding the file being or not being in your
Hope this helps.