日常命令

1、查看云主机所走公网ip

curl ifconfig.me
curl icanhazip.com

2、nginx查看某一时间段日志

cat web.log | egrep "01/Apr/2014" | sed  -n '/21:31:36/,/21:50:08/p'  
原文地址:https://www.cnblogs.com/crysmile/p/7078091.html