Last active
December 15, 2016 04:01
-
-
Save jialechan/ae2400622be9c147f137c33f8bc3ef43 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
查看本地开放的端口 | |
netstat -antp | |
检查nginx使用那个端口 | |
netstat -plnt|grep nginx | |
检查某个进程使用那个端口 | |
netstat -anp |grep 33333 | |
遍历每个目录大小 | |
du -h --max-depth=1 | |
查询外网ip | |
curl http://169.254.169.254/latest/meta-data/public-ipv4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment