¡if•¶ if command-list then command ...... elseif #È—ª‰Â”\ command ...... else #È—ª‰Â”\ command ...... fi example ------------------- if test -f file; then echo "The file exists." else echo "The file does no exist." fi