Mailinglist Archive: opensuse (3637 mails)

< Previous Next >
RE: [SLE] help required running a script (pretty please)
  • From: Adilson Guilherme Vasconcelos Ribeiro <adilson@xxxxxxxxxxx>
  • Date: Thu, 3 May 2001 17:18:28 -0300 (BRT)
  • Message-id: <Pine.LNX.4.10.10105031716090.31671-100000@xxxxxxxxxxxxxxxxxxxxx>

Today, jennifer moter wrote...

Hi,

> its your path. the shell can't find the script.
> either launch it like this:
> ./script1
> or add . to your path
>
>> i've used chmod +x script1 ro make it executable
>
>> when I attempt to run it i get the error:
>
>> "sh: ./script1: No such file or directory
>
it seens the loader can't find the interpreter for the script...
does it have a #!/bin/bash or something like that (the correct interpreter
for your script's language) in the first line ?


Regards,
Adilson Ribeiro


< Previous Next >
References