Last active
July 16, 2017 10:01
-
-
Save simlegate/6e7d41b0466b87242aa5 to your computer and use it in GitHub Desktop.
Linux常用命令
This file contains 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 -an | grep 9000 | |
# 通过list open file命令可以查看到当前打开文件,在linux中所有事物都是以文件形式存在,包括网络连接及硬件设备。 | |
lsof -i:9000 | |
# 查看php.ini文件的位置 | |
php --ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment