Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
gunzip は gz ファイルを解凍し、結果を表示します
.gz ファイルに圧縮されたファイル/ファイル名のリストを取得するオプションはありますか
例: sample.gz には 2 つのファイルが含まれています
file1.txt abc
file2.txtの定義
gunzip -c sample.gz o/p:abc def
しかし、ファイル名が必要です。
前もって感謝します。
オプションを使用gunzip -lして、解凍されるファイルの名前を確認できます。
gunzip -l