cat .terraform/terraform.tfstate | jq -c '.backend.config.bucket' | tr -d '"' | grep -c "$(echo $AWS_ENV)"
See also[edit]
ack, ag, grep
, egrep, fgrep
, agrep
, ngrep
, pgrep
, awk
, sed
, strings
, tr
, tail
, mtail
, git grep
, wc
, uniq
, LogQL
, findstr (Windows)
, rg, git-grep, cut