Berkeley CSUA MOTD:Entry 18072
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/24 [General] UID:1000 Activity:popular
5/24    

2000/4/21-22 [Uncategorized] UID:18072 Activity:low
4/20    The return value of rsh bears no relation to the return value of the
        command you're trying to execute on a remote system. So how do I get
        that return value?
        \_ e.g. rsh <machine> 'grep -i foo bar; echo $status'
           \_ Or you could use ssh, which does return the exit status of
              the remote command.
           \_ Many thanx.