- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- execute command
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
06-21-2001 11:00 AM
06-21-2001 11:00 AM
Can I have it as part of my profile so that I can issue the command from any directory or folder.
Let me know if you can help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2001 11:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2001 01:09 PM
06-21-2001 01:09 PM
Re: execute command
"/usr/bin/sh:pgp not found"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2001 01:14 PM
06-21-2001 01:14 PM
Re: execute command
I didn't think about having to do
. ./.profile to get it to run.
PATH=$PATH:/new_path
would also work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 12:45 AM
06-22-2001 12:45 AM
Re: execute command
Hi
Before editting .profile U acn try this.
#PATH=$PATH:/"pgp programs path"
#export PATH
#pgp (regardless of where U are). If this is working U can add the same thing in $home/.profile file. If this is not working Ur program has got some other problem. Come out with more inputs.
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 12:54 AM
06-22-2001 12:54 AM
Re: execute command
add it in PATH
#PATH=$PATH:/newpath.
newpath is the path where your .prg exist
eg : if prg exist in /x/y/prg
then #PATH=$PATH:/x/y
#export $PATH
or same thing can be added in .profile file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 01:13 AM
06-22-2001 01:13 AM
Re: execute command
Like others said you can add the path (when
you change directory typing "cd /A/B/C", your
path is "/A/B/C" or use "pwd" to be sure when
you are in your program's directory).
Type in a shell to verify and add to your
.profile : export PATH=$PATH:YOUR_PATH
I use another method : I have a $HOME/bin
directory (a bin directory in my home dir)
where I put all my prg or I make links (using
ln -s
And I added $HOME/bin in my path like we describe
for your own prg.
HTH
Herve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 01:36 AM
06-22-2001 01:36 AM
Re: execute command
Look at the file /etc/PATH
you could edit this file which will give eryone logging into this system the new $PATH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 02:14 AM
06-22-2001 02:14 AM
Re: execute command
see /etc/dt/config/sys.dtprofile (/usr/dt/config) and set DTSOURCEPROFILE=true
Later,
Bill