- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: profile
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
Forums
Discussions
Discussions
Discussions
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
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
05-09-2007 01:25 AM
05-09-2007 01:25 AM
profile
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2007 01:30 AM
05-09-2007 01:30 AM
Re: profile
It looks like it's totally up to your needs:
".profile files are useful for setting various environment parameters, setting terminal modes, or overriding some or all of the results of executing /etc/profile"
For more info and example of file please take a look at:
http://docs.hp.com/en/B2355-60130/profile.4.html
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2007 01:30 AM
05-09-2007 01:30 AM
Re: profile
For our Oracle Environments, we consider the following important:
PATH
TMP
TMPDIR
ORACLE_HOME
ORACLE_SID
LD_LIBRARY_PATH
DISPLAY
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2007 01:55 AM
05-09-2007 01:55 AM
Re: profile
Everything else should go into /etc/profile so that you have a common base.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2007 01:55 AM
05-09-2007 01:55 AM
Re: profile
You can populate your '.profile' with whatever variables are appropriate to you environment.
However, instead of adding them directly therein, I prefer to source a separate file containing them. In that way, _any_ script that needs the custom environmental variables can also source (read) the file _without_ having to source the '.profile'. This eliminates having to conditionally exclude the 'stty' handling for non-interactive uses.
As the end of the profile, simply do:
. ${HOME}/myenv
That is a dot ("." followd by a whitespace (space or tab), followed by the name of the file that contains the environmental variables you want to declare.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2007 06:25 AM
05-09-2007 06:25 AM
Re: profile
Doe a man on 'ksh', it should details most if not all the possible evironment variables for .profile.
Keep in mind if you're using .profile for Bourne shell, it'll be a subset of it.
Jov