1
0

More than 1 year has passed since last update.

AWS CLIコマンドでS3オブジェクトの中身を見る方法

Posted at

S3に関するaws cliのコマンドには lscp は存在するが cat コマンドは存在しない。

catコマンドは無いのですが、catと同様にファイルの中身を見るコマンドがあります。

s3オブジェクトの中身を見るコマンド

cpコマンドのコピー先として - を指定するとオブジェクトファイルを見る事ができます。

$ aws s3 cp s3://app-s3-server-access-log/2022-04-01-05-13-25-47E6B98F6C4197 -
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0