- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- UNIX default PATH
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
02-15-2002 11:16 AM
02-15-2002 11:16 AM
UNIX default PATH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 11:18 AM
02-15-2002 11:18 AM
Re: UNIX default PATH
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 11:19 AM
02-15-2002 11:19 AM
Re: UNIX default PATH
1) You can edit the file /etc/PATH.
2) Modify /etc/profile
3) Modify the .profile (or .cshrc) of the user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 11:24 AM
02-15-2002 11:24 AM
Re: UNIX default PATH
Try these files - /etc/PATH, /etc/profile ( default global profile for 'sh'), /etc/csh.login ( profile for C shell), /$home/.profile ( user profile for 'sh').
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 11:29 AM
02-15-2002 11:29 AM
Re: UNIX default PATH
you should look for changing the default path in /etc/profile if you want to implement the change for all the users.
add this line to your /etc/profile,
export PATH=$PATH:new_path_1:new_path_2
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 11:40 AM
02-15-2002 11:40 AM
Re: UNIX default PATH
I'd add this reminder, too: Keep your PATH variable as short as practical. Place frequently accessed directories at the head (beginning), and *do not* include your current path (".") in the PATH. This last one constitutes a classic Trojan horse. That is, you may not be executing what you think you are running. Rather you are running *my* destructive code that masquerades as the name of a normal command!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 12:46 PM
02-15-2002 12:46 PM
Re: UNIX default PATH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 01:02 PM
02-15-2002 01:02 PM
Re: UNIX default PATH
Me? Naw...I tend to be too much of a pack-rat. :-))
Regards!
...JRF...