506 test -e pig.txt && echo 'you have that file' 507 echo oink > pig.txt 508 test -e pig.txt && echo 'you have that file' 509 test -e pig.txt 510 test ! -e pig.txt && echo 'file does not exist' 511 test ! -e pog.txt && echo 'file does not exist' 512 exit-ex.sh pog.txt 513 exit-ex.sh pig.txt 514 filename="My stuff.txt" 515 echo $filename 516 test $filename = "foo" 517 test "$filename" = "foo" 518 for-quotes.sh "moo baa la" 519 chmod 700 more-than-5.sh 520 more-than-5.sh 521 more-than-5.sh 1 2 3 4 5 522 more-than-5.sh 1 2 3 4 5 6 523 echo $filename 524 [[ $filename =~ tuff ]] && echo "matched" 525 [[ $filename =~ "tuff" ]] && echo "matched" 526 [[ $filename =~ t*uff ]] && echo "matched" 527 [[ $filename =~ "t*uff" ]] && echo "matched" 528 [[ "$filename" =~ t*uff ]] && echo "matched" 529 glob-play.sh 530 glob-play.sh 531 glob-play.sh 532 read-lines-ex.sh 533 history > 279lab08-history.txt