S3 object opsAWS CLI
aws s3 ls
List buckets or objects with optional filtering.
Command
aws s3 ls
Example usage
List all buckets or keys within a bucket prefix.
aws s3 ls
aws s3 ls s3://<bucket>/<prefix>
Related tags
S3 object opsclouds3ec2iam
List buckets or objects with optional filtering.
List all buckets or keys within a bucket prefix.
aws s3 ls
aws s3 ls s3://<bucket>/<prefix>