trusty

shell error

Sep 10th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. root@frudo# aws autoscaling describe-auto-scaling-groups --auto-scaling-group-names asg-name --query 'length(AutoScalingGroups[0].Instances[?HealthStatus==`Healthy`])'
  2. 3
  3. root@frudo# count=`aws autoscaling describe-auto-scaling-groups --auto-scaling-group-names asg-name --query 'length(AutoScalingGroups[0].Instances[?HealthStatus==`Healthy`])'`
  4. bash: command substitution: line 1: unexpected EOF while looking for matching `''
  5. bash: command substitution: line 2: syntax error: unexpected end of file
  6. bash: command substitution: line 1: syntax error near unexpected token `)'
  7. bash: command substitution: line 1: `])''
Add Comment
Please, Sign In to add comment