Stay organized with collections
Save and categorize content based on your preferences.
cat - Concatenate object content to stdout
Synopsis
gsutil cat [-h] url...
Description
The cat command outputs the contents of one or more URLs to stdout.
While the cat command does not compute a checksum, it is otherwise
equivalent to doing:
gsutil cp url... -
(The final '-' causes gsutil to stream the output to stdout.)
where offsets start at 0, start-end means to return bytes start
through end (inclusive), start- means to return bytes start
through the end of the object, and -numbytes means to return the
last numbytes of the object. For example: