On Fri, Jun 10, 2005 at 11:48:30AM +0200, Montagni, Giovanni wrote:
> Your script is beautiful, but on my server it didn't works. i have changed
> the path correctly, but it give me this error:
>
> : bad interpreter: No such file or directory
>
Sounds like the first line of the script points to an
incorrect location for "bash". The original script,
IIRC, said on the first line:
#!/bin/bash
Perhaps you don't have bash or it is in a different location.
Try running the command "type bash".
If it comes back with a path, like /usr/bin/bash,
adjust the first line of the script accordingly.
If "type bash" reports you don't have a version of
bash, try ksh or zsh. As a last resort, try sh.
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|