Subject: Re: Bash Configuration Question
To: mowestusa <mowestusa@yahoo.com>
From: Kevin Brunelle <kruptos@mlinux.org>
List: netbsd-help
Date: 08/16/2006 04:31:28
> I have tried setenv
> PKG_PATH again, but it says that no command exists. So
> I'm guessing that since I'm not using the sh shell any
> longer this is the issue.
>
> How do I use bash and set the "PKG_PATH" back to the
> "ftp://" site?
You just use the following method to set the variable. The first command sets
it and the second makes it an environment variable (setenv combines these
into one step).
PKG_PATH=ftp:// ...
export PKG_PATH
If you're really interested in knowing what the differences are between the
shells, there are many good sources out there. A good phrase to look up
is "bourne shell", if you prefer bash. You may also want to look into the
csh to understand what it does differently.
-Kevin