rinetd

brew

http://brew.sh

不推荐
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

ohmyzsh

https://ohmyz.sh/#install

调试代码

function dd(){
echo "

";
data as v);
}
die;
}


rinetd
安装:
wget http://www.rinetd.com/download/rinetd.tar.gz
tar zxvf rinetd.tar.gz
cd rinetd
修改配置文件 vim Makefile

install: rinetd
      install -m 700 rinetd /home/search/liyuchao/rinetd
      echo > /home/search/liyuchao/rinetd/rinetd.conf

make && make install

6、启动
./rinetd -c rinetd.conf
7、检查进程
pgrep rinetd 或者 netstat -tunl | grep rinetd
8、关闭
kill ${pid}

rsync

文档:http://www.ruanyifeng.com/blog/2020/08/rsync.html
demo
rsync source destination 使用的ssh协议
rsync -az [email protected]:/home/homework/ /home/homework/ --exclude="redis-/data/" --exclude="var/"

网络代理:
http://pac.internal.baidu.com/bdnew.pac

你可能感兴趣的:(rinetd)