I've put the directories I want in my path in /etc/profiles and /home/cp/.bash_profile yet it hasn't done anything, what file do I need to edit to add extra dirs to my path? Mandrake 9.0
Cheers
CP
I've put the directories I want in my path in /etc/profiles and /home/cp/.bash_profile yet it hasn't done anything, what file do I need to edit to add extra dirs to my path? Mandrake 9.0
Cheers
CP
hey CP, i edit either /etc/bachrc or ~/.bashrc and then i add a line that looks like this:
export PATH=$PATH:/new/path
[quote author=CP link=board=1;threadid=6624;start=0#62225 date=1048065070]
I've put the directories I want in my path in /etc/profiles and /home/cp/.bash_profile yet it hasn't done anything, what file do I need to edit to add extra dirs to my path? Mandrake 9.0
Cheers
CP
[/quote]
That help? MDK 9 btw too.Code:[schotty@wildturkey schotty]$ cat .bash_profile # b.ash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin:/usr/java/j2sdk1.4.1_01/bin export PATH export LD_PRELOAD=/usr/lib/libGL.so unset USERNAME [schotty@wildturkey schotty]$
I already had it in my .bash_profile and it hadn't worked, so I tried putting it in /etc/bashrc and that seemed to do it.
Cheers
CP
Did you log in and out? I needed to do that. And that means X too ;D
Bookmarks