Difference between revisions of "Aws ecs list-services"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
  
  
  [[for]] SERVICES=$(aws ecs list-services --cluster [[your-cluster]] | grep YOUR-TEXT | grep . |  cut -d":" -f6- | cut -d'"' -f1); do echo $SERVICES; done
+
  [[for]] SERVICES in $(aws ecs list-services --cluster [[your-cluster]] | grep YOUR-TEXT | grep . |  cut -d":" -f6- | cut -d'"' -f1); do echo $SERVICES; done
  
 
== Related ==
 
== Related ==

Revision as of 10:19, 21 March 2023

Advertising: