查看压缩包
[yeqiang@harbor tmp]$ tar -tvf control.tar.xz drwxr-xr-x root/root 0 -03-18 09:43 ./-rw-r--r-- root/root 247 -03-18 09:43 ./control-rw-r--r-- root/root 469 -03-18 09:43 ./md5sums
指定只解压出./control文件
[yeqiang@harbor tmp]$ tar -xvf control.tar.xz ./control./control[yeqiang@harbor tmp]$ cat controlPackage: linuxqqVersion: 2.0.0-b2Architecture: arm64Installed-Size: 32284Maintainer: Tencent <support@>Recommends: tint2Section: InternetPriority: optionalHomepage: /linuxqqDescription: 腾讯QQ Linux版本。[yeqiang@harbor tmp]$