if [(1) ! -s $TMP/rlist_2.$$ ]; then ls(1) -l $TMP/rlist_2.$$; echo(1) "Not files to get from $RHOST ."; exit(1posix) ; fi
if list; then list; [ elif list; then list; ] ... [ else list; ] fi
       The  if list is executed.  If its exit status is zero, the then list is executed.  Otherwise, each
       elif list is executed in turn, and if its exit status is zero,  the  corresponding  then  list  is
       executed  and  the command completes.  Otherwise, the else list is executed, if present.  The exit
       status is the exit status of the last command executed, or zero if no condition tested true.
check file types and compare values
-s FILE
       FILE exists and has a size greater than zero
list directory contents
-l     use a long listing format
List information about the FILEs (the current directory by default).  Sort entries alphabetically if none
of -cftuvSUX nor --sort is specified.
display a line of text
Echo the STRING(s) to standard output.
cause the shell to exit
source manpages: [lsechoexit