miaow.sh 159 B

1234567891011121314
  1. #!/bin/bash
  2. dir="/bin"
  3. files=`ls $dir`
  4. for f in $files
  5. do
  6. echo "In $dir there is $f"
  7. if [ $f == "cat" ]
  8. then
  9. echo "Miaow !"
  10. fi
  11. done