Get current AWS account ID using AWS CLI

aws sts get-caller-identity --query Account --output text
1 lines of code, 57 characters

Similar AWS code snippets using bash

Finally, a good search for AWS Console

Was that in us-east-1? Or us-west-2? No need to remember. Just type the name of the resource and CloudTempo will find it.