unzipコマンドを使う。-lオプションを付けると、展開はせずにZIPファイル内のファイルの一覧を表示する。-vオプションを付けると、もう少し詳しくファイルの一覧を表示する。
$ ls -log 合計 180 -rw-rw-r-- 1 182190 1月 11 23:23 seiyu.zip $ unzip -l seiyu.zip Archive: seiyu.zip Length Date Time Name --------- ---------- ----- ---- 1600000 2024-01-11 23:14 石見舞菜香.txt 1600000 2024-01-11 23:14 野口瑠璃子.txt 1600000 2024-01-11 23:14 和多田美咲.txt --------- ------- 4800000 3 files $ unzip seiyu.zip Archive: seiyu.zip inflating: 石見舞菜香.txt inflating: 野口瑠璃子.txt inflating: 和多田美咲.txt $ ls -log 合計 4872 -rw-rw-r-- 1 182190 1月 11 23:23 seiyu.zip -rw-rw-r-- 1 1600000 1月 11 23:14 石見舞菜香.txt -rw-rw-r-- 1 1600000 1月 11 23:14 野口瑠璃子.txt -rw-rw-r-- 1 1600000 1月 11 23:14 和多田美咲.txt