c,创建
x,释放
v,显示提示信息
f,指定压缩文件的名字
z,使用gzip方式压缩, – .gz
j,使用bzip2的方式压缩 – .bz2
压缩文件
tar -zcvf portal.tar.gz ./portal/
解压文件
tar xvfz portal.tar.gz