More than 3 years have passed since last update.
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 ファイル名 |
Why not register and get more from Qiita?
- We will deliver articles that match you
By following users and tags, you can catch up information on technical fields that you are interested in as a whole
- you can read useful information later efficiently
By "stocking" the articles you like, you can search right away
Sign upLogin