\#压缩文件生成 【例 2】使用 zip 命令压缩目录,需要使用“-r”选项,例如: [root@localhost ~]# mkdir dir1\#建立测试目录[root@localhost ~]# zip -r dir1.zip dir1adding: dir1/(stored0%) \#压缩目录[root@localhost ~]# ls -dl dir1.zip-rw-r--r--1root root1606月1716:22dir1.zip \...