[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bad interpreter...

From: Geraint Paul Bevan
Subject: Re: Bad interpreter...
Date: Wed, 06 Aug 2003 16:52:22 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

Mike wrote:
> I have done the following:
> I saved as the file
> #!octave-2.1.50 -qf
>  printf("Hello,world!\n"); and returning to the turminal I do
>  chmod  +744 then trying to run the script with
> a) ./ -->bad interpreter,permission denied
>  b) hello---> command not found.
>  I run linux 2.4.20.
> Any help? (step-by-step if possible).

You need to give the full path to the interpreter:

blah ...

Geraint Bevan
Department of Mechanical Engineering
University of Glasgow
Tel: +44 (0)141 330 5917

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]