Re: why this simple bash script doesn't run on my G5 OS X Tiger?
- From: Prester Jacques <prestor_jack@xxxxxxxxx>
- Date: Tue, 30 May 2006 07:04:34 -0400
In article <127npt56l4p0heb@xxxxxxxxxxxxxxxxxx>,
"G.T." <getnews1@xxxxxxxxxxxxxx> wrote:
Does ./testscript.sh work? I.e., is . in your path?
That's a bit obscure. What he needs to know is that an executable has to
be in the "executable path" that you've set in your $PATH environment
variable. Otherwise you have to give the full path to the thing.
../ is shorthand for "this directory" or "the working directory" or
"here."
If you're going to play with a lot of scripts, it might be worthwhile to
create a bin directory in your home directory, and move the scripts
there, and then add $HOME/bin to your path (in your .bashrc file). Then
you can just type the command anywhere you happen to be parked.
--
P_J
Vous de chouis, vous de choix ...
<prestor_jack@xxxxxxxxx>
.
- References:
- why this simple bash script doesn't run on my G5 OS X Tiger?
- From: Key-Rok Choi
- Re: why this simple bash script doesn't run on my G5 OS X Tiger?
- From: G.T.
- why this simple bash script doesn't run on my G5 OS X Tiger?
- Prev by Date: Ok HD replacement is simple in MacBook. What about MacBook Pro?
- Next by Date: Re: help: how to compile c++
- Previous by thread: Re: why this simple bash script doesn't run on my G5 OS X Tiger?
- Next by thread: Lost Bluetooth File Exchange?
- Index(es):