I've been creating mac shell executables with this method:
- Create a file;
- Add
#!/bin/sh; - Add the script;
- Run
chmod 755 nameofscript.
I now need to create a shell script to create a shell script in another directory and make it executable (with chmod) so that it can be run on startup.
chmod +x nameofscript.