UNIX
设置代理,Terminal关闭时自动恢复
1 | export https_proxy="http://localhost:port" |
LINUX
更新
1 | sudo apt update -y && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo apt autoclean -y && sudo do-release-upgrade |
TCPDUMP
1 | sudo /usr/bin/tcpdump -s 0 -X 'udp dst port 6001' |
复制带连接的文件
1 | cp -af ./release/aaa/ ./packet/bbb/ |
查找文件
1 | find . -name '*.txt' |