[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bad interpreter...
From: |
John W. Eaton |
Subject: |
Bad interpreter... |
Date: |
Wed, 6 Aug 2003 10:53:57 -0500 |
On 6-Aug-2003, Mike <address@hidden> wrote:
| I have done the following:
| I saved as hello.sh the file
| #!octave-2.1.50 -qf
| printf("Hello,world!\n"); and returning to the turminal I do
| chmod +744 hello.sh then trying to run the script with
Why rw but not x for group and others?
| a) ./hello.sh -->bad interpreter,permission denied
You need the full name of the interpreter (octave):
#! /usr/bin/octave
or whatever it actually is (perhaps /usr/local/bin/octave).
jwe
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------