解壓 GZ TGZ 文件

 
解壓 gz file
Use guzip command as follows:
$ gunzip file.gz
OR
$ gzip -d file.gz
To see new file, enter:
$ ls -l
解壓 a tar.gz or .tgz file
Files with extension tar.gz or .tgz are tar files compressed with gzip. On Unix system extract them with following command:
$ gunzip file.tar.gz | tar xvf -
$ gunzip file.tgz | tar xvf -
If you have GNU tar (Linux system) you can use the z option directly:
$ tar xvzf file.tar.gz
$ tar xvzf file.tgz
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章