Operating System - HP-UX
1753262 Members
4922 Online
108792 Solutions
New Discussion юеВ

Re: PATH Variable settings

 
SOLVED
Go to solution
V. Nyga
Honored Contributor

Re: PATH Variable settings

@sujit - '.' is the current directory, so shell searches there too.

V.
*** Say 'Thanks' with Kudos ***
Narendra Uttekar
Regular Advisor

Re: PATH Variable settings

Hi,
I am using csh shell. It is working fine with other user on same system, but not working with this it works but with absolute path /usr/bin/env...but when i echo $PATH it is showing that /usr/bin is set , so it should work with env or pwd...not needed to give absoulte path i.e. /usr/bin/env as it is working with other user.

Thanks,
Narendra
Torsten.
Acclaimed Contributor

Re: PATH Variable settings

Try the commands above to see if there are aliases or something.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Aneesh Mohan
Honored Contributor

Re: PATH Variable settings

Hi ,

Please post

# what `which env`;echo $0


Aneesh
V. Nyga
Honored Contributor

Re: PATH Variable settings

Hi again,

check if 'echo $PATH' is identical for the other users, also check .cshrc
Make a 'diff '.

Also check for aliasse.

After login - 'pwd' is the users home dir?

V.
*** Say 'Thanks' with Kudos ***
Dennis Handly
Acclaimed Contributor

Re: PATH Variable settings

>I am using csh shell.

(You shouldn't be using the scummy C shell.)
The scummy C shell uses $path and not $PATH for its lookup. Are they the same?
Narendra Uttekar
Regular Advisor

Re: PATH Variable settings

I have found the solution.
V. Nyga
Honored Contributor

Re: PATH Variable settings

Well - it would have been nice to tell us and others who maybe have the same problem later your solution!
*** Say 'Thanks' with Kudos ***