#!/usr/app/TurboShell/bin/bash
day=Sunday
free=12
[[ -f words.txt ]] && echo "words.txt is a file"
[[ -d photos ]] && echo "photos is a folder"
[[ -e missing.txt ]] || echo "there is no missing.txt"
[[ -s words.txt ]] && echo "words.txt is not empty"
[[ $day == S* ]] && echo "$day starts with S"
[[ -z ${comment:-} ]] && echo "comment is empty"
((free < 20)) && echo "low space"
if [[ $day == Sunday && -d photos ]]; then
  echo "both are true"
fi
