㈠ shell脚本,批量解压*.dat.gz命令!
for file in *.dat.gzdotar zxvf $filedone注意把tar匹配成相应的文件格式的解压程序。
㈡ linux下文件如何解压sh.gz
这其实是.gz文档,.sh是shell脚本的后缀。解压:gunzip xx.sh.gz就可以得到文件:xx.sh