- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Enviroment variables bad
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
03-13-2003 12:40 PM
03-13-2003 12:40 PM
In the begin of the PATH variable there is a path: "/opt/cobol/bin" that i need eliminate.
In the .profile and /etc/profile files there isn`t this setting "/opt/cobol/bin"
When i set in the .profile the new path: PATH=$PATH:/opt/lib/cobol/bin,
the old path is before the new path. Whe execute an command firts use the "/opt/cobol/bin"
I need eliminate the old path, but i don??t find where is setting.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2003 12:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2003 12:43 PM
03-13-2003 12:43 PM
Re: Enviroment variables bad
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2003 12:44 PM
03-13-2003 12:44 PM
Re: Enviroment variables bad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2003 12:49 PM
03-13-2003 12:49 PM
Re: Enviroment variables bad
Are uou using CDE ? Check the file $HOME/.dtprofile .
Is ENV set (echo $ENV) ?
check the file in that variable (if there is any).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2003 12:54 PM
03-13-2003 12:54 PM
Re: Enviroment variables bad
Now this being said, a system can be modified in such a way that PATH is exported in more ways than this, but... lets hope the system was not modified as it will not be easy to find.
Here is the possible locations on a default system.
/etc/PATH
$HOME/.login
$HOME/.profile
$HOME/.cshrc
$HOME/.dtlogin
C-Shell is the only shell that will read the .login and .cshrc files. However, it is worth noting that C-Shell is launched in such a way that the standard sh login files are read and translated to itself. Hence Modifications to .profile will impact a C-Shell session, just as a POSIX/Borne/Korn shell.
Hope it helps!
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2003 02:23 PM
03-13-2003 02:23 PM