Computing.Net > Forums > Solaris > rsh status

rsh status

Reply to Message Icon

Original Message
Name: hken44
Date: December 9, 2004 at 08:03:09 Pacific
Subject: rsh status
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.


Report Offensive Message For Removal


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

Using ksh

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


Report Offensive Follow Up For Removal

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

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


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: rsh status

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge