系统相关
首页 > 系统相关> > Linux - tar

Linux - tar

作者:互联网

List files in tar file:

tar -tf filename.tar.gz

tar -tvf filename.tar.gz

 

Extract a file called etc/default/sysstat from config.tar.gz tarball:
$ tar -ztvf config.tar.gz
$ tar -zxvf config.tar.gz etc/default/sysstat
$ tar -xvf {tarball.tar} {path/to/file}

标签:tar,default,gz,tarball,file,Linux,config
来源: https://www.cnblogs.com/zhangzhihui/p/13948090.html