mac常用命令

1. lsof 查看端口;

   kill -9 pid 杀死进程

   ps -ef | grep pid 查看进程详情

2. 查看本机IP地址的方法:

    1) 系统偏好设置,网络

    2) 终端输入命令:ifconfig | grep "inet " | grep -v 127.0.0.1

3. 

posted @ 2018-10-15 10:45  Jtianlin  阅读(146)  评论(0编辑  收藏  举报