./coscli cat cos://<bucket-name>/<key> [flag]
Parameter Format | Description | Example |
cos://<bucket-name>/<key> | Specifies the target bucket, which is accessible by using the bucket alias or bucket name configured in the configuration file as detailed in Download and Installation Configuration. If you use the bucket name for access, you also need to include the endpoint flag. | Access with the bucket alias: cos://example-alias/test.txt Access with the bucket name: cos://examplebucket-1250000000/test.txt |
Flag Abbreviation | Flag Name | Description |
-h | --help | Views the usage of this command. |
./coscli cat cos://bucket1/test.txt
Was this page helpful?