$ touch test.html $ [ -e test.html ] && echo found || echo not found found $ [ -e *.html ] && echo found || echo not found found $ [[ -e test.html ]] && echo found || echo not found found $ [[ -e *.html ]] && echo found || echo not found not found $ touch '*.html' $ [[ -e *.html ]] && echo found || echo not found found