Surely you just need to change your $PATH to look in /usr/bin first like so:

[EMAIL PROTECTED]:~$ which ls
/usr/gnu/bin/ls
[EMAIL PROTECTED]:~$ echo $PATH
/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin
[EMAIL PROTECTED]:~$ export 
PATH=/usr/bin:/usr/gnu/bin:/usr/X11/bin:/usr/sbin:/sbin
[EMAIL PROTECTED]:~$ which ls
/usr/bin/ls


To make it permanent you would need to alter your .bashrc (assuming your 
using bash)
best change the MANPATH as well so that you get the correct man pages.


--
Cheers
James

MC wrote:
> The solaris/opensolaris documentation you find online says chmod this, ls 
> that, yet those commands don't work in opensolaris.  
>
> _I_ know this is because the GNU versions are being used instead of the 
> opensolaris versions.  But I'm more informed than most of the people out 
> there who google solaris topics and are baffled why their commands aren't 
> working.
>
> What is the supported way to make opensolaris console commands work?
> --
>
> This message posted from opensolaris.org
>
> _______________________________________________
> indiana-discuss mailing list
> indiana-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>   

_______________________________________________
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to