#!/usr/bin/env bash out=`find . -type f -exec grep '843339462' /dev/null {} +` if [[ -n "${out}" ]]; then echo "token found in: " echo "${out}" else echo "token not found" fi