- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- where to modify the path of the executables
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
11-15-2005 04:57 AM
11-15-2005 04:57 AM
where to modify the path of the executables
I have typed which sx7 it will give /usr/bin/sx7
I want to mdify the path of the executable Can u plz guide me where to change the path ...
Thanx
with regads
Subrata Kr Sur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 05:18 AM
11-15-2005 05:18 AM
Re: where to modify the path of the executables
Now you need to modify your PATH environment to look in the /xxx/yyy/zzz directory.
On a global basis, you can edit /etc/PATH and add :/xxx/yyy/zzz to the list that is already there.
You can also modify PATH in /etc/profile or you can modify .profile in your home directory:
Something like this:
PATH=${PATH}:/xxx/yyy/zzz
export PATH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 05:29 AM
11-15-2005 05:29 AM
Re: where to modify the path of the executables
1. You can move the executable to another location and edit the path .
2. You can also create a link for that , in the new path.
Ex: 1.
# mv /usr/sbin/sx7 /yourdesired_dir/sx7
# vi /etc/PATH
( Include the new path )
or
# edit .profile of that user , who will be using the executable , and put the path.
Ex.2 .
# cd /yourdesired_dir/
# ln /usr/sbin/sx7 .
Add the path.
Cheers,
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 07:15 AM
11-15-2005 07:15 AM
Re: where to modify the path of the executables
Let me ask another confusion I have kept the script sx7 in different directory ... and all the path i have updated in $PATH directory in . profile file So which sript it will execute first ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 07:23 AM
11-15-2005 07:23 AM