記兩個linux命令linux
1.把/home/lubby/test/hello.log 文件 使用zip壓縮放到 /tmp/ss.zipspa
zip -r /tmp/ss.zip /home/lubby/test/hello.logip
2.從遠程機器上username@10.10.10.10:/home/logs/log.log 拉文件到/home/lubby/log.logtest
scp username@10.10.10.10:/home/logs/log.log /home/lubby/log.log文件
2.從本機器推文件到遠程機器上遠程
scp /home/lubby/log.log username@10.10.10.10:/home/logs/log.log 壓縮