#!/bin/shif [ -d $1 ]; then cd $1 ##### Example 1. Test Operator if [ -f $2 ]; then echo $2' is file.' printf $2' is file.'\\n > $1/$2 else echo $2' is not file.' touch $1/$2 printf $2' file is created.'\\n > $1/$2 fi ##### Example 2. Arithmetic Comparison Operator if [ $3 -gt 1 ]; then echo $3' is greater than 1.' printf $3' is greater than 1.'\\n >> $1/$2 elif [ $3 -eq 1 ]; then echo $3' is eq..