UNIX / Linux Decompress tgz / tar.gz Files
来源:互联网 发布:js工厂方法 编辑:程序博客网 时间:2024/05/01 17:33
Q. I've downloaded a file from internet in .tgz format. How do I decompress .tgz file under UNIX or Linux operating system using a shell prompt?
A. This is archive file also known as tar ball. If an archive is compressed with an external tool, the compression program adds its own suffix as usual, resulting in filename endings like ".tar.Z", ".tar.gz", and ".tar.bz2" or tgz. To open such file type the following command at Linux shell prompt (GNU tar syntax):$ tar -zxvf filename.tgz
$ tar -zxvf filename.tar.gz
$ tar -jxvf filename.tar.bz2
UNIX decompress tgz / tar.gz file
Type the following command:$ gzip -dc filename.tgz | tar xf -
$ gzip -dc filename.tar.gz | tar xf -
If file extension ends with .Z, enter:$ zcat filename.tar.Z | tar xf -
转自:http://www.cyberciti.biz/faq/decompress-tgz-targz-files/
- UNIX / Linux Decompress tgz / tar.gz Files
- How to install Linux/UNIX *.tar.gz tarball files
- Linux解压.tar .tgz .tar.gz .tar.Z等文件
- Linux解压.tar .tgz .tar.gz .tar.Z等文件
- linux:unzip files,tar bz2 zip tar.gz gz
- linux解压缩tar gz bz2 tgz zip等
- linux 常用tar gz bz2 tgz z 等解压命令
- linux,centos下解压tar,gz,bz2,tgz,zip等
- linux,centos下解压tar,gz,bz2,tgz,zip等
- linux中怎么解压.tgz与.tar.gz文件
- linux安装软件详细解答 rpm tar.gz tar.z tar.bz2 tar.tgz .deb .bin
- linux安装软件详细解答 rpm tar.gz tar.z tar.bz2 tar.tgz .deb .bin
- linux安装软件详细解答 rpm tar.gz tar.z tar.bz2 tar.tgz .deb .bin
- linux中的文件压缩(.gz、.tar.gz、tgz、bz2、.Z、.tar)
- Linux下tar、tar.gz、tar.Z、tgz、bz2包的解包及解压缩处理
- linux下各种打包与压缩文件后缀及其解包解压缩方法.gz、.tar.gz、tgz...
- linux(unix)下.tar.gz解压
- Linux中安装.rpm、.tar和.tar.gz或.tgz包
- QII中,用JTAG接口配置EPCS器件
- java 第二天笔记
- 软件设计的几条基本原则
- 逐渐打造一款强大的项目(请不要转载)4
- 指定初始化(designated initialize)
- UNIX / Linux Decompress tgz / tar.gz Files
- 一些能提高效率的搜索工具
- udev原理分析
- 没有爱的日子里(1)
- 跨站请求伪造及防范 Cross-Site Request Forgeries[CSRF]
- CentOS 6 rescue模式 初体验
- java 第3天笔记
- 增加datanode新节点
- 学习Android界面设计的超级利器HierarchyView.bat