Ad space (banner)
AD

Got the fundamentals? A structured AWS course is a fast way to level up.

Find AWS courses on Udemy

Affiliate link. Costs you nothing extra.

☁️AWS Lessons
Lesson 17 / 41

Listing Buckets with aws s3 ls

When you want to see which buckets exist, use aws s3 ls with no arguments. It lists the buckets in your account.

The syntax is aws s3 ls.

Running it prints the creation date and name of each bucket.

A common stumble is expecting to see objects. Without a bucket name you get buckets; adding one gets you its contents.

In real work, it is the quick check for what storage exists before you create yet another bucket.

AWS
Try it (type this into the pseudo terminal)
aws s3 ls

🧑‍💻 You can type this command into the AWS pseudo terminal to try it yourself (this page itself has no interactive terminal).

Ad space (banner)
Ad space (in-article)