I have this frustration - and I assume others also.

In what order and from which init files is the search path setup.

I have found it really frustrating to run some apps from the console
because it 'can't be found' and usually have to use 'locate' first,
and then prefix the full path.

The other thing that gets to me is the difference between the three
user accounts I have set up; as below: Essentially user1 and user2 are
identical in their functions, but they use different GUIs.

Why are there duplicated paths in the user profiles?

It appears to me that something somewhere is appending multiple
times.

I have broken the lines up for readability.

As root:
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/jdk1.2.2/bin

As User1:
/usr/local/bin:/bin:/usr/bin:/usr/local/jdk1.2.2/bin:/usr/local/bin:
/usr/X11R6/bin:/home/user1/bin:/usr/local/jdk1.2.2/bin:/usr/local/bin:
/usr/X11R6/bin:/usr/local/jdk1.2.2/bin:/usr/local/bin:/usr/X11R6/bin

As User2:
/usr/local/bin:/bin:/usr/bin:/usr/local/jdk1.2.2/bin:/usr/local/bin:/usr/bin:/sbin:
/usr/X11R6/bin:/home/user2/bin:/usr/local/jdk1.2.2/bin:/usr/local/bin:/usr/bin:/sbin:
/usr/X11R6/bin:/usr/local/jdk1.2.2/bin:/usr/local/bin:/usr/bin:/sbin:/usr/X11R6/bin

It used to be that you set your global search path in /etc/.profile and
extras in each user .profile where appended from/to that set globally.

Am I missing something here?

Cheers
-- 
ICQ# 89345394     Mailto: [EMAIL PROTECTED]
"The number of UNIX installations has grown to 10, with more expected"
(The UNIX Programmer's Manual, 2nd Edition, June 1972.)


Reply via email to