infoMore than 5 years have passed since last update.
【メモ】Linux圧縮/解凍コマンド
Last updated at Posted at 2016-08-02
Linux圧縮/解凍コマンド
解凍コマンド例
解凍対象ファイルの拡張子 |
コマンド |
.tar.gz .tgz |
tar -xzvf ファイル名 |
.tar.bz2 .tbz |
tar -xjvf ファイル名 |
.gz |
gunzip ファイル名 , gzip -d ファイル名 |
.bz2 |
bzip2 -d ファイル名 |
.lha .lzh |
lha x ファイル名 |
.zip |
unzip ファイル名 |
圧縮コマンド例
圧縮対象ファイルの拡張子 |
コマンド |
.tar.gz .tgz |
tar -zcvf ファイル名.tar.gz ファイル名 |
.tar.bz2 .tbz |
tar -jcvf ファイル名.tar.bz2 ファイル名 |
.gz |
gzip ファイル名 |
.bz2 |
bzip2 ファイル名 |
.lha .lzh |
lha c ファイル名.lzh ファイル名 |
.zip |
zip ファイル名.zip ファイル名 |
List of users who liked
118Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
What you can do with signing up