ftp 浏览器用户登录

ftp://username:password@host:port

获取有效IP(Ubuntu)

 

ip route get 1 | awk '{print $NF;exit}'

截取文件名

basename "/tmp/path/filename.md"    //filename.md

basename "/tmp/path/filename.md" .md    //filename

 

grep sed awk

 

xargs 给其他命令传递参数的一个过滤器。用作替换工具,读取输入数据重新格式化后输出

build and execute commands from standard input. It converts input from standard input into arguments to a command

https://linux.die.net/man/1/xargs

http://man.linuxde.net/xargs

 

打印module依赖树
./gradlew moudleName:dependencies

版本回退到指定commit
https://git-scm.com/docs/git-reset
git reset --soft commit_id

网络上志同道合,我们一起学习网络安全,一起进步,QQ群:694839022