Skip to content

Instantly share code, notes, and snippets.

@chrismaddalena
Last active January 3, 2020 13:40
Show Gist options
  • Save chrismaddalena/03930a8dd1e968caa6b3a1dadf372d84 to your computer and use it in GitHub Desktop.
Save chrismaddalena/03930a8dd1e968caa6b3a1dadf372d84 to your computer and use it in GitHub Desktop.
Service Description Command
User List logged-in users gcloud auth list
User Switch active user gcloud config set account 'ACCOUNT'
User Logout an account gcloud auth revoke --all or gcloud auth revoke 'ACCOUNT'
Storage List buckets gsutil ls
Storage Copy object from bucket gsutil cp gs://BUCKET_NAME/FILENAME .
VM List virtual machine instances gcloud compute instances list
VM List virtual machine snapshots gcloud compute snapshots list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment