Open zhaojiafu opened 4 years ago
https://zhaojiafu.github.io/2019/12/02/0051363feac8bb4fe4ea63c8aa44d13c/
https://zhaojiafu.github.io/2019/12/02/0051363feac8bb4fe4ea63c8aa44d13c/
1.tar压缩解压缩 tar命令常见参数:必须的参数:(3个参数不能共存)-c :创建压缩文件c代表create。-x :解压缩文件-t :查看压缩包里面的文件辅助参数:-z :用 gzip 压缩/解压缩-j :用 bzip2 压缩/解压缩-v :显示压缩/解压缩的进度条-f :使用档名(注意:f后面不要接参数,也就是说-zxfv是不对的,要写成-zxvf) 打包:tar -cvf [目标文