#!/bin/sh xsshA > stdout.txt 2> stderr.txt echo "exit status: " $?