GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to know where is located a command or scri...
Operating System - HP-UX
1851095
Members
2231
Online
104056
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
02-04-2008 05:21 PM
02-04-2008 05:21 PM
How to know where is located a command or script ...
Hi ..
how can i know where is located a command, i meean, for shutdown sap, we have to be logon into the system as "sapuser" and after only we have to run the command "stopsap" .
i want to know where is located stopsap
i have searched this command into the server but i could not found the command ....
could it be a env command?
i run env command but it is not there declared ..
how can i know where is located "stopsap" command? i think that is a script ...
please let me know.
thanks.
how can i know where is located a command, i meean, for shutdown sap, we have to be logon into the system as "sapuser" and after only we have to run the command "stopsap" .
i want to know where is located stopsap
i have searched this command into the server but i could not found the command ....
could it be a env command?
i run env command but it is not there declared ..
how can i know where is located "stopsap" command? i think that is a script ...
please let me know.
thanks.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2008 05:27 PM
02-04-2008 05:27 PM
Re: How to know where is located a command or script ...
Hi guys ..
i got it ...
i found the value into the file .cshrc
it was easy !!!!
thanks any way.
Regards.
i got it ...
i found the value into the file .cshrc
it was easy !!!!
thanks any way.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2008 11:17 PM
02-04-2008 11:17 PM
Re: How to know where is located a command or script ...
Depending on your shell, you might try things
like:
type stopsap
where stopsap
which stopsap
like:
type stopsap
where stopsap
which stopsap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2008 11:26 PM
02-04-2008 11:26 PM
Re: How to know where is located a command or script ...
Other choices are (also depending on shell):
# whereis command
# whence command
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
# whereis command
# whence command
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
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 2026 Hewlett Packard Enterprise Development LP