摘要:
1.开启samba共享:1 $ sudo /etc/init.d/samba start2.打包,压缩,解压缩: zip:1 $ zip -r file.zip file1 file22 3 $ unzip file.zip tar:1 $ tar -zxvf /home/user/lee/aa.tar.gz -C /home/user/ma <==解压到指定目录2 $ tar -cvf /tmp/etc.tar /etc <==仅打包,不压缩3 $ tar -zcvf /tmp/etc.tar.gz /etc <==打包后,以 gzip 压缩4 $ tar -jcvf /t 阅读全文