I'm using bash.  That worked!

Thanks!

-Z


-----Original Message-----
From: opensolaris-help-boun...@opensolaris.org
[mailto:opensolaris-help-bounces at opensolaris.org] On Behalf Of Kevin
Monceaux
Sent: Friday, July 18, 2008 12:56 PM
To: Open Solaris Help Mailing List
Subject: Re: [osol-help] Stupid Question...

-Z,

On Fri, 18 Jul 2008, Mr. Z wrote:

> How to I change the PATH?  I tried to use the command "set 
> PATH=PATH:/usr/sfw/bin" to add the /usr/sfw/bin folder to the existing 
> path. Doesn't seem to work.

What shell are you using?  I use tcsh and would achieve the above with:

set path = ($path /usr/sfw/bin)

For bash like shells, which is probably what you're using, it would be:

export PATH=$PATH:/usr/sfw/bin

If you're not sure what shell you're using, try:

echo $SHELL


Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
Longum iter est per praecepta, breve et efficax per exempla!!!

_______________________________________________
opensolaris-help mailing list
opensolaris-help at opensolaris.org


Reply via email to