Difference between revisions of "Jq -c"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} * {{jq}}")
 
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
 +
cat [[.terraform/terraform.tfstate]] | [[jq]] -c '.backend.config.bucket' | tr -d '"' | grep -c "$(echo $AWS_ENV)"
  
 
* {{jq}}
 
* {{jq}}

Revision as of 21:39, 22 March 2023

cat .terraform/terraform.tfstate | jq -c '.backend.config.bucket' | tr -d '"' | grep -c "$(echo $AWS_ENV)"

Advertising: