I want to run a basic shell script (to create a large number of directories) but when I try to run a simple test version of it I get "command not found".
I've created the text file and made it executable using the chmod +x command so I don't understand why it doesn't run when I type it's name.
It's the first time I've tried to run a shell script on my Mac (years and years ago I used to run them on a Unix system though) so I expect I'm doing something very basic wrong but can't think what.
I've created the text file and made it executable using the chmod +x command so I don't understand why it doesn't run when I type it's name.
It's the first time I've tried to run a shell script on my Mac (years and years ago I used to run them on a Unix system though) so I expect I'm doing something very basic wrong but can't think what.