> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cudocompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Command line

> Interact with object storage using s3cmd & s5cmd

When working with S3-compatible object storage two popular CLI tools are s3cmd and s5cmd.

* s3cmd - mature, feature rich
* s5cmd - high performance & parallel operations

## s3cmd installation

Install with pip:

```bash theme={null}
pip install s3cmd
```

## Configure s3cmd

You will need an object storage user and a bucket. Gather:

* Access & secret key: Project > Object storage > Users > select user
* Endpoint: Project > Object storage > Buckets > select bucket (remove https\:// prefix)

Run interactive setup:

```bash theme={null}
s3cmd --configure
```

Follow prompts (use provided endpoint, test, then save). Your config is stored at `~/.s3cfg`.

List buckets:

```bash theme={null}
s3cmd ls
```

Upload a file:

```bash theme={null}
s3cmd put local-file.txt s3://your-bucket-name/
```

Delete a file:

```bash theme={null}
s3cmd del s3://your-bucket-name/file.txt
```

More: [https://s3tools.org/usage](https://s3tools.org/usage)
