- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- setting ENV (Environmental variables ) in HP-UX
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
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
тАО03-23-2009 04:08 AM
тАО03-23-2009 04:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 04:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 04:13 AM
тАО03-23-2009 04:13 AM
Re: setting ENV (Environmental variables ) in HP-UX
system wise is done in /etc/profile
for user's
$HOME/.profile
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 04:14 AM
тАО03-23-2009 04:14 AM
Re: setting ENV (Environmental variables ) in HP-UX
You _really_ need to do some research yourself! You continue to ask fundamental questions that a bit of reading would lead you to the answer. If you have any UNIX/Linux experience you should be able to leverage that to learn more. You will learn much better by applying a little effort.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 04:23 AM
тАО03-23-2009 04:23 AM
Re: setting ENV (Environmental variables ) in HP-UX
Assuming you use the POSIX or korn shell.
Set variables in /etc/profile and .profile
PATH=/usr/bin:/usr/contrib/bin:$PATH
export PATH
If you look at /etc/profile on an HP-UX system you will see some examples that will illuminate things.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 07:01 AM
тАО03-23-2009 07:01 AM
Re: setting ENV (Environmental variables ) in HP-UX
You can set PATH through PATH Command.
PATH=
export PATH
After that you can check that, PATH is exported or not useing..
#echo $PATH
There you will see one more defined path by you.
Regards,
Gokul Chandola
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 08:14 AM
тАО03-23-2009 08:14 AM
Re: setting ENV (Environmental variables ) in HP-UX
You might find this link useful to answer a range of questions on HP-UX that you might have:
http://docs.hp.com/en/B2355-90950/index.html
HTH, Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 05:09 PM
тАО03-23-2009 05:09 PM
Re: setting ENV (Environmental variables ) in HP-UX
Regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 05:15 PM
тАО03-23-2009 05:15 PM
Re: setting ENV (Environmental variables ) in HP-UX
here is more information..
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=997541
Regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 06:48 PM
тАО03-23-2009 06:48 PM
Re: setting ENV (Environmental variables ) in HP-UX
PATH=$PATH:$(< /etc/PATH)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 11:07 PM
тАО03-23-2009 11:07 PM
Re: setting ENV (Environmental variables ) in HP-UX
/etc/profile and /home/.profile is the file to set the environment veriables
/etc/profile is excuted for every user who loggin to the system and /home/.profile is exeuted for the local user
if you need to set any variable then you need to set into your .profile which is under /home
and if you need to set any variables which is required by all user in the system then you need to edit /etc/profile
Suraj