linux tar压缩解压命令

1、将当前目录下的“payment-gate-app” 压缩成payment-gate-app.tar.gz并放到当前目录下目录下

[root@test-allweb local]# tar zcvf payment-gate-app.tar.gz payment-gate-app

2、解压payment-gate-app.tar.gz文件

[root@test-db local]# tar xzvf payment-gate-app.tar.gz