- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PATH Variable settings
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 10:26 PM
тАО06-17-2009 10:26 PM
When i want to check the exported enviromental settings i need to give /usr/bin/env , /usr/bin/pwd. But it won't display anything when used env or pwd. But when i check the /usr/bin is in PATH vaibale still why it doesn't work?
PATH=/oracle/TCQ/102_64/bin:.:/home/tcqadm:/usr/sap/TCQ/SYS/exe/run:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/resmon/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/pd/bin:/opt/gnome/bin:/opt/mozilla:/opt/wbem/bin:/opt/wbem/sbin:/opt/graphics/common/bin:/usr/sbin/diag/contrib:/opt/ignite/bin:/opt/hpsmh/bin:/opt/perl/bin:/opt/ssh/bin:/opt/java1.4/jre/bin:/opt/spb/bin:/opt/gwlm/bin:/opt/omni/bin:/opt/hpnpl//bin:/sbin/fs/vxfs3.5/bin
Thanks,
Narendra
Solved! Go to Solution.
- Tags:
- PATH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 10:34 PM
тАО06-17-2009 10:34 PM
Re: PATH Variable settings
Just /usr/bin/ isn't enough.
If this would be enough, PATH have to be set to "/" only, but this doesn't work ...
;-))
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 10:37 PM
тАО06-17-2009 10:37 PM
Re: PATH Variable settings
Is this same for users?
Try whereis command .
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 10:53 PM
тАО06-17-2009 10:53 PM
Solutionis this from user env? 'env|grep PATH' ?
Strange - looks ok.
@Thorsten - /usr/bin should work to find the commands /usr/bin/env and /usr/bin/pwd ...
Narendra, check with 'which env' and 'whereis env'.
But I would not place /oracle, . and /usr/sap at front of your PATH - there should be the os bin-directories /usr/sbin:/usr/bin.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 12:03 AM
тАО06-18-2009 12:03 AM
Re: PATH Variable settings
which shell do you use?
For Bourne-like shells check the results of the builtin commands
export
For CSH-like shells try
setenv
Do you get results (don't supply a parameter to any of the commands)?
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 12:52 AM
тАО06-18-2009 12:52 AM
Re: PATH Variable settings
echo $SHELL
whence -v env
whence -v pwd
But you should be able to use the real shell's builtin pwd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 02:01 AM
тАО06-18-2009 02:01 AM
Re: PATH Variable settings
what is the userid from you are loggin in server, And did you checked the shell for the user
Thanks
Jitesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 02:55 AM
тАО06-18-2009 02:55 AM
Re: PATH Variable settings
Just wanted to know,
PATH=/oracle/TCQ/102_64/bin:.:/home/tcqadm
is that . between : and : intentionally placesd, what is the purpose of that?
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 03:16 AM
тАО06-18-2009 03:16 AM
Re: PATH Variable settings
What shell are you using?
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 03:23 AM
тАО06-18-2009 03:23 AM
Re: PATH Variable settings
#whereis pwd
pwd: /usr/bin/pwd /usr/share/man/man1.Z/pwd.1
#type pwd
pwd is a shell builtin
#whence pwd
pwd
#whereis env
env: /usr/bin/env /usr/share/man/man1.Z/env.1
#type env
env is /usr/bin/env
#whence env
/usr/bin/env
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!