On Wed, Dec 10, 2008 at 08:48:57AM -0800, Dolphin06 wrote: > > 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 [EMAIL PROTECTED] remotescript param
>From ssh(1): ssh exits with the exit status of the remote command or with 255 if an error occurred. Ken -- Ken Irving