Command word

1. Let go ssh tunnel rsync synchronization (sync that is characteristic of the incremental rsync, ssh have security features, and do not have to open a single port 873)

rsync -e ssh -avz 10.90.xx.xxx:/mnt2/p62/ /mnt3/p62/

 

2. bulk delete screen session Detached session (confirmation can be removed to perform)

for i in $(screen -ls|grep Detached|awk -F'[. (]+' '{print $2}');do screen -X -S ${i} quit;done

 

3. Let go curl request socket proxy (provided that there is already a local proxy socket can be achieved through ssh client)

curl -x "socks5://root:[email protected]:1080" www.baidu.com

  

Guess you like

Origin www.cnblogs.com/tianxie11/p/10980943.html