advertisement

Article:
  Scripting Mac OS X
Subject:   Making and running scripts
Date:   2004-10-01 15:04:19
From:   yush
I am unable to run scripts on OSX. Here is what I did:


I created a file script (no extensions) as follows:
#!/usr/bin/perl
echo "Hello"


And then I save it. After that I go to my shell and try running this file and I get the following message:
bash: /Users/yush/script: /usr/bin/perl: bad interpreter: Permission denied


Any idea what I am doing wrong, and how I can fix this?


1 to 1 of 1
  1. Making and running scripts
    2004-10-01 15:29:37  jamesreynolds [View]

    • Making and running scripts
      2004-10-01 15:30:59  jamesreynolds [View]

1 to 1 of 1