Computing.Net > Forums > Solaris > rsh status

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

rsh status

Reply to Message Icon

Name: hken44
Date: December 9, 2004 at 08:03:09 Pacific
OS: solaris 8
CPU/Ram: 2GH
Comment:

I want to be able to return my exit status command rather than rsh exit status when I execute a remote back.

rsh host1:ufsdump....
I want to know the status of ufsdump instead of rsh when rsh command is finished.



Sponsored Link
Ads by Google

Response Number 1
Name: cbailey33
Date: December 10, 2004 at 22:11:52 Pacific
Reply:

Using ksh

rsh host1 ufsdump > /dev/null 2<&1 | echo $?


0

Response Number 2
Name: Mukesh Kesharwani
Date: January 3, 2005 at 07:33:05 Pacific
Reply:

Or u can use the output redirection to some file too if u r using the rsh from scheduler. which will be used as log for ur rsh execution

Mukesh Kesharwani
CCNA, SCSA, CUA,CNA, MCSE,MCP+I,CCNSE,Certified HIPPA Security Consultant

www.keekar.com


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


need help connecting to s... Error: shmsys:shminfo_shm...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: rsh status

rsh login www.computing.net/answers/solaris/rsh-login/3836.html

enet hw link status command? www.computing.net/answers/solaris/enet-hw-link-status-command/4332.html

rcp, rsh .. not work www.computing.net/answers/solaris/rcp-rsh-not-work/3717.html