- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: remsh strange behavior?
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
07-08-2004 01:44 AM
07-08-2004 01:44 AM
remsh remotehost -l username -n "which aCC"
I get aCC: Command not found.
The strange this is that
remsh remotehost -l username -n "which cc"
works fine, and returns the expected results. I have worked around this problem by using whereis instead of which, but what am I missing here? Is this expected behaviour?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 01:47 AM
07-08-2004 01:47 AM
SolutionaCC is ansi C++ compiler and it has to be purchased and installed seperately. If it is installed, then it has to be in the default path as remsh doesn't execute the user's profile.
cc is available in the default path.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 01:52 AM
07-08-2004 01:52 AM
Re: remsh strange behavior?
no aCC in blah blah
Are you sure, there are no typhos in typing which.
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 01:54 AM
07-08-2004 01:54 AM
Re: remsh strange behavior?
after further investigation now it comes down to which returning output I wasn't expecting.
I expected:
no aCC in .....
instead I get
aCC: Command not found.
Is this a change between versions of the OS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 02:01 AM
07-08-2004 02:01 AM
Re: remsh strange behavior?
I would also look at the shell.
$ aCC
sh: aCC: not found.
$ csh
% aCC
aCC: Command not found.
%
Looks like it is a c shell on the other server.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 02:03 AM
07-08-2004 02:03 AM
Re: remsh strange behavior?
no aCC found in /usr/bin ....
What is your version?
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 02:08 AM
07-08-2004 02:08 AM
Re: remsh strange behavior?
The case has been solved. It seems that the C shell returns a different error message than when I run it in Korn or Bourne shells.
Thanks everyone for the help.