how to know if a command was successful on remote server
From:
Dolphin06
Subject:
how to know if a command was successful on remote server
Date:
Wed, 10 Dec 2008 08:48:57 -0800 (PST)
Hello i m sending command to remote server, in my script on my local machine.
I would like to know how can i return a value if the command on the remote
server failed.
on my script on local machine :
#! /bin/bash
#how can i get a returned value from this ?
ssh $USER@$SERVER remotescript param
Thank you.
--
View this message in context:
http://www.nabble.com/how-to-know-if-a-command-was-successful-on-remote-server-tp20939147p20939147.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.