HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How can I make a file common?
Operating System - HP-UX
1833920
Members
4293
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
10-03-2004 08:56 PM
10-03-2004 08:56 PM
I have created a script but I need to make it common so that I can run wherever in the system, how can I achieve this?
Thank you for your kind advise !! =)
Thank you for your kind advise !! =)
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2004 09:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2004 09:15 PM
10-03-2004 09:15 PM
Re: How can I make a file common?
Hi,
just add the dir in which the script resides to your PATH Variable and then you're able to run it from wherever you are
Regards
Franky
just add the dir in which the script resides to your PATH Variable and then you're able to run it from wherever you are
Regards
Franky
Don't worry be happy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2004 09:18 PM
10-03-2004 09:18 PM
Re: How can I make a file common?
We have to export that PATH on PATH environment varible. Default searchable path will be given in /etc/PATH file. Include the new path there.
PATH=/usr/sbin:/usr/bin:/usr:/tmp .. like that.
Else simply add that script on /usr/bin/ or /usr/sbin/ location so that those path's are in searchable path.
Change the permission of script to 755 to execute them
PATH=/usr/sbin:/usr/bin:/usr:/tmp .. like that.
Else simply add that script on /usr/bin/ or /usr/sbin/ location so that those path's are in searchable path.
Change the permission of script to 755 to execute them
Easy to suggest when don't know about the problem!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP