rc=$(rsh -l admin server1 "ls ${ZW_MONTHLY_PATH}${SD_FILE}.sum 2>/dev/null")
rc will contains the list of filenames (if any), in the home directory of user admin in machine server1, matching the pattern ${ZW_MONTHLY_PATH}${SD_FILE}.sum, where ZW_MONTHLY_PATH and SD_FILE are shell variables probably defined earlier in the script.
Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244