commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Use the AWS CLI tools to generate a list instances, then pipe them to JQ to show only their launch time and instance id. Finally use sort to bring them out in runtime order. Find all those instances you launched months ago and have forgotten about.
There is 1 alternative - vote for the best!
You can do the filtering natively in the aws cli, without using jq (although jq is awesome!)
If you can do better, submit your command here.
You must be signed in to comment.