bash_cheatsheet fast personal cheatsheet Table Of Contents if string comparison real use if string comparison VAR="hello" if [ -n "$VAR" ]; then echo "VAR is not empty" fi VAR="" if [ -z "$VAR" ]; then echo "VAR is empty" fi real use execute cmd every $time #!/bin/sh while [ true ] do sh special_svn_script.sh sleep 10 done