diff --git a/27-01-2021-grepString/grepHttp.sh b/27-01-2021-grepString/grepHttp.sh new file mode 100644 index 0000000..e5e5d47 --- /dev/null +++ b/27-01-2021-grepString/grepHttp.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +if [[ "$(grep -r 'http://' .)" ]]; then + echo "http protocol found" +else + echo "http protocol not found" +fi \ No newline at end of file