On Mon, Dec 10, 2007 at 06:43:32PM +0100, Matthew Whittaker-Williams wrote:
> export PATH=/usr/sfw/libexec/gcc/i386-pc-solaris2.11/3.4.3:/usr/sfw/bin:/( > Etc > you want in your PATH setup ) Please do not ever add /usr/sfw/libexec/gcc/i386-pc-solaris2.11/3.4.3 to your path. Just add /usr/sfw/bin; that's all you need. The contents of that other directory are private implementation details. Someone could put a binary in there called 'ls' that deletes your home directory, and *you* would be at fault for having it in your path. > You can set the default PATH for root and regular users in: > /etc/default/login and /etc/default/su. > set PATH and SUPATH in both of those files to something useful like : > > PATH=/opt/csw/bin:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin > Or if you just want to change your own settings, bash uses ~/.bash_profile and ~/.bashrc. These are just scripts. See bash(1) for details. -- Keith M Wesolowski "Sir, we're surrounded!" FishWorks "Excellent; we can attack in any direction!" _______________________________________________ opensolaris-help mailing list [email protected]
