On 0, "Dr. Sachin Kale" <sauravsk@agd2.dot.net.in> wrote: [snip] > # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) > # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). > > export > CLASSPATH=.:/usr/java/j2sdk1.4.0/lib:/usr/java/j2sdk1.4.0/jre/lib > export JAVA_HOME=/usr/java/j2sdk1.4.0 > export PATH=$JAVA_HOME/bin:$PATH > PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/lib/po > stgresql/bin:/usr/java/j2sdk1.4.0/bin" > > if [ "$BASH" ]; then > PS1='\u@\h:\w\$ ' > else > if [ "`id -u`" -eq 0 ]; then > PS1='# ' > else > PS1='$ ' > fi > fi > > export PATH PS1 > > umask 022 Erm, I haven't read some of this thread, so this may be *really* obvious, and I may just be missing some point of the discussion, but what you are doing here looks to me to be: export PATH=/usr/java/j2sdk1.4.0/bin:$PATH export PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/lib/postgresql/bin:/usr/java/j2sdk1.4.0/bin" When what you want is actually the other way around... Tom -- Tom Cook Information Technology Services, The University of Adelaide "Beware of computer programmers that carry screwdrivers." - Leonard Brandwein Get my GPG public key: https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au
Attachment:
pgpS2n6ihb9GZ.pgp
Description: PGP signature