[wplug] SuSE PATH

Wise, Jeremey jeremey.wise at agilysys.com
Wed May 5 15:26:57 EDT 2004


Ok it was as simple as modification of /etc/profile but it wasn't
working in that I was using xterms and even though I would open a new
window it would not (for some reason) parse the new path. I will have to
ASSume that it is pulling the path from X. 

In short, reboot fixed it.


On Wed, 2004-05-05 at 13:20, Vanco, Don wrote:
> I should mention that this is a function of bash.....
> 
> 	-----Original Message----- 
> 	From: wplug-bounces+don.vanco=agilysys.com at wplug.org on behalf of Vanco, Don 
> 	Sent: Wed 5/5/2004 1:20 PM 
> 	To: General user list 
> 	Cc: 
> 	Subject: RE: [wplug] SuSE PATH
> 	
> 	
> 
> 	>SuSE does not appear to have the concept of ~/.bash_profile
> 	Did you try making one?
> 	
> 	ibid = ditto, repeat, as above, etc (abbreviation for "ibidem";Latin for "in the same place" )
> 	
> 	        -----Original Message-----
> 	        From: wplug-bounces+don.vanco=agilysys.com at wplug.org on behalf of Wise, Jeremey
> 	        Sent: Wed 5/5/2004 1:15 PM
> 	        To: General user list
> 	        Cc:
> 	        Subject: RE: [wplug] SuSE PATH
> 	       
> 	       
> 	
> 	        SuSE does not appear to have the concept of ~/.bash_profile.
> 	       
> 	        ? ibid? Guess i'm a little slow today. As for /etc/profile I tried
> 	        modifying this on a RedHat 9 box and it does work the file structure
> 	        references a function called "pathmunge" but it looked straight forward.
> 	       
> 	        On Wed, 2004-05-05 at 13:00, Vanco, Don wrote:
> 	        > > 1) What is the proper way to add a new path?
> 	        > system wide: /etc/profile
> 	        > per user: ~/.bash_profile
> 	        >
> 	        > > 2) Where is the path held or parsed that X uses?
> 	        > ibid
> 	        >
> 	        >       -----Original Message-----
> 	        >       From: wplug-bounces+don.vanco=agilysys.com at wplug.org on behalf of Wise, Jeremey
> 	        >       Sent: Wed 5/5/2004 12:55 PM
> 	        >       To: General user list
> 	        >       Cc:
> 	        >       Subject: [wplug] SuSE PATH
> 	        >     
> 	        >     
> 	        >
> 	        >       I installed Mozilla on SuSE 9.0 and for some reason it does not have the
> 	        >       PATH available for my user in a shell (though it works in X). I thought
> 	        >       you could add path entries in /etc/profile for the whole system.
> 	        >     
> 	        >       Ex:
> 	        >     
> 	        >       vi /etc/profile
> 	        >     
> 	        >       ...snip...
> 	        >       # Make path more comfortable
> 	        >       #
> 	        >       if test -z "$PROFILEREAD" ; then
> 	        >           PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/local/mozilla
> 	        >           for dir in $HOME/bin/$CPU $HOME/bin ; do
> 	        >               test -d $dir && PATH=$dir:$PATH
> 	        >           done
> 	        >           test "$UID" = 0 && PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH
> 	        >           for dir in  /var/lib/dosemu \
> 	        >                       /usr/games \
> 	        >                       /opt/bin \
> 	        >                       /opt/gnome/bin \
> 	        >                       /opt/kde3/bin \
> 	        >                       /opt/kde2/bin \
> 	        >                       /opt/kde/bin \
> 	        >                       /usr/openwin/bin \
> 	        >                       /opt/cross/bin
> 	        >           do
> 	        >               test -d $dir && PATH=$PATH:$dir
> 	        >           done
> 	        >           unset dir
> 	        >           export PATH
> 	        >       fi
> 	        >     
> 	        >     
> 	        >       Where I would just apend "/usr/local/mozilla \" at the end of the list.
> 	        >       It does not work. I have tried to poke around in ~/ with no luck.
> 	        >     
> 	        >       Question:
> 	        >       1) What is the proper way to add a new path?
> 	        >     
> 	        >       2) Where is the path held or parsed that X uses?
> 	        >     
> 	        >       --
> 	        >       Call if you have any questions.
> 	        >     
> 	        >       Jeremey Wise
> 	        >       Jeremey.Wise at Agilysys.com
> 	        >       Office (440)-519-6006
> 	        >       Mobile (216)-647-1121
> 	        >       MCSE,CNE,CSE
> 	        >       _______________________________________________
> 	        >       wplug mailing list
> 	        >       wplug at wplug.org
> 	        >       http://www.wplug.org/mailman/listinfo/wplug
> 	        >     
> 	        >
> 	        >
> 	        > _______________________________________________
> 	        > wplug mailing list
> 	        > wplug at wplug.org
> 	        > http://www.wplug.org/mailman/listinfo/wplug
> 	        _______________________________________________
> 	        wplug mailing list
> 	        wplug at wplug.org
> 	        http://www.wplug.org/mailman/listinfo/wplug
> 	       
> 	
> 	
> 	_______________________________________________
> 	wplug mailing list
> 	wplug at wplug.org
> 	http://www.wplug.org/mailman/listinfo/wplug
> 	
> 
> 
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug



More information about the wplug mailing list