Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 1998 08:24:11 -0500 (CDT)
From:      "Paul T. Root" <proot@horton.iaces.com>
To:        romank@graphnet.com (Roman Katsnelson)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Solaris question (sorry!)
Message-ID:  <199806261324.IAA22365@horton.iaces.com>
In-Reply-To: <3592BA8B.4E4A33C5@graphnet.com> from Roman Katsnelson at "Jun 25, 98 05:00:59 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
In a previous message, Roman Katsnelson said:
> Hi,
> 
> I am really sorry to post an off-topic question, but I have no time to
> find a SOlaris group right now, and I really need to know.
> 
> How does one edit the $PATH in Solaris? Mine is empty and I need to ass
> /usr/local/bin.
> 
> Thanks, and my apologies.
> 
> Roman

This really has nothing to do with Solaris. It's your shell. 

sh|ksh|bash in .profile (or .kshrc or .bashrc or .bash_profile):

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

csh|tcsh (in .login or .cshrc):
set path=($path /usr/local/bin)


However, in Solaris, you can also edit the PATH line in
/etc/default/login. 

-- 
The problem with any unwritten law is that you don't know where to go
to erase it.
                -- Glaser and Way

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806261324.IAA22365>