[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bad interpreter...
From: |
Mike |
Subject: |
Bad interpreter... |
Date: |
Wed, 06 Aug 2003 18:50:51 +0300 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 |
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
a) ./hello.sh -->bad interpreter,permission denied
b) hello---> command not found.
I run linux 2.4.20.
Any help? (step-by-step if possible).
-------------------------------------------------------------
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
-------------------------------------------------------------