You are not logged in.

#1 2010-06-04 09:48:10

roina
Member
Registered: 2010-06-04
Posts: 25

additional bash PATH

I have a small question.
My PATH=/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/jre/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core
In my home directory there are no files for bash environment exept .bash_history.

But /etc/profile is (only necessary part, to my mind)

# Set our default path
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
export PATH

Where was last 4 entries in PATH added?

uname -a
Linux myhost 2.6.33-ARCH #1 SMP PREEMPT Thu May 13 12:06:25 CEST 2010 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux

Offline

#2 2010-06-04 09:53:56

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,395
Website

Re: additional bash PATH

Look in /etc/profile.d/*

Online

Board footer

Powered by FluxBB