安装tar,untar:
yum install -y tar
yum install -y untar
使用说明:
压缩
zip -r xxx.zip ./*
解压zip文件到当前目录
unzip xxx.zip
unzip -o -d /home/sunny myfile.zip把myfile.zip文件解压到 /home/sunny/-o:不提示的情况下覆盖文件;-d:-d /home/sunny 指明将文件解压缩到/home/sunny目录下;