mac简单命令

1、查看mac的IP地址

  ifconfig | grep "inet"

2、mac运行httpserver

    首先

sudo apachectl start  

   然后进入目标文件cd ***

python -m SimpleHTTPServer

3、最后浏览器输入:http://localhost:8000

 

 

posted @ 2020-03-11 17:10  (⊙o⊙)买噶  阅读(208)  评论(0编辑  收藏  举报