# pw buckets cat

> Source: https://parallelworks.com/docs/cli/pw/buckets/cat

## pw buckets cat

Print a bucket object

### Synopsis

The **pw buckets cat** command prints a bucket object's contents to standard output.

Both PW URIs and CSP URIs are accepted. For more information about URIs, please see [this section](/docs/cli#about-uris).

```
pw buckets cat [bucket URI]/[file] [flags]
```

### Examples

```
  # Print a file from a bucket
  pw buckets cat pw://demo/demos3bucket/sample.txt
  
  # Pipe a file from an AWS bucket to another command
  pw buckets cat s3://demos3bucket/sample.json | jq .
```

### Options

```
  -h, --help   help for cat
```

### Options inherited from parent commands

```
      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
  -v, --verbose                Enable verbose logging
```

### SEE ALSO

* [pw buckets](/docs/cli/pw/buckets)	 - Manage cloud buckets
