Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

where the labes.json is stored

when using command "gsutil label get gs://bucket > labels.json" wondering where this labels.json is stored? in the cloud shell session?

2 Answers

When you, like in this case, don’t specify a location, it will be created in the current working directory. If you run "ls", you should see bucketlabels.json listed together with the gcp-cloud-engineer folder and README-cloudshell.txt.

If you execute this command from Cloud Shell, the file will be created in Cloud Shell disk at the current working directory where you type the command (Cloud Shell disk is persistent, so you can retrieve this file later if needed).

If you execute this command from your PC (with Google SDK installed), the similar thing happens: file will be created on your PC at the current working directory where you type the command.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?