--- title: "List All Buckets on the Server" slug: "list-all-buckets-on-the-server-s3cmd" tags: ["5.4"] updated: 2026-10-28T01:53:57Z published: 2026-10-28T01:53:57Z canonical: "docs.vastdata.com/list-all-buckets-on-the-server-s3cmd" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # List All Buckets on the Server ```plaintext s3cmd [-c CONFIGFILE] ls s3:// ``` | CONFIGFILE | Configuration file. Defaults to $HOME/.s3cfg | | --- | --- | ## Example List all buckets on the server, specifying the root path of all buckets (s3://) and specifying our configuration file as the non default *vast.s3cfg*. ```plaintext $ s3cmd -c vast.s3cfg ls s3:// 2019-06-24 09:55  s3://bucket1 ```