ec2-describe-instance-status always returns all columns specified in documentation
I need a way to know just the state name and state code of the instance of instance.
Is there a way to do so ?
ec2-describe-instance-status always returns all columns specified in documentation
I need a way to know just the state name and state code of the instance of instance.
Is there a way to do so ?
ec2-describe-instance-status | grep '^INSTANCE\s' | cut -f2,4,5