Re: why this simple bash script doesn't run on my G5 OS X Tiger?
- From: "G.T." <getnews1@xxxxxxxxxxxxxx>
- Date: Mon, 29 May 2006 23:35:15 -0700
Key-Rok Choi wrote:
Hi, All,
This is my first try to use shell scripts on Mac. And I can't figure out
why this simple script doesn't run.
$> vi testscript.sh
#!/bin/bash
echo "Hello Test"
$> ls -l
-rwxr-xr-x 1 kr kr 28 May 30 00:41 testscript.sh
$> testscript.sh
-bash: run: command not found
So, what am I missing here. I checked "Excute this
command..." as "/bin/bash", but it should run anyway according to the
guide on the Mac web site.
The command line,
$>echo "Hello"
works fine though.
Does ./testscript.sh work? I.e., is . in your path?
Greg
--
"All my time I spent in heaven
Revelries of dance and wine
Waking to the sound of laughter
Up I'd rise and kiss the sky" - The Mekons
.
- Follow-Ups:
- Re: why this simple bash script doesn't run on my G5 OS X Tiger?
- From: Prester Jacques
- Re: why this simple bash script doesn't run on my G5 OS X Tiger?
- References:
- why this simple bash script doesn't run on my G5 OS X Tiger?
- From: Key-Rok Choi
- why this simple bash script doesn't run on my G5 OS X Tiger?
- Prev by Date: Re: iTunes on a multi-user emac
- Next by Date: Re: ADVICE NEEDED: installing OS X on a formerly OS 9 machine
- Previous by thread: why this simple bash script doesn't run on my G5 OS X Tiger?
- Next by thread: Re: why this simple bash script doesn't run on my G5 OS X Tiger?
- Index(es):
Relevant Pages
|