1. 寻找文件命令

find . -name "*.txt" //.代表当前路径,意思是找到所有txt文件

 

2. ps -A | grep mysql //可以检查到mysql的进程, 与ps -a不一样

 

3. brew install mysql // 对应 brew uninstall mysql 

  brew home //用浏览器打开brew的官方网站

  brew list //列出已安装的软件   brew info   brew update ...

 

4. open -a TextEdit test.jsp //http://blog.csdn.net/churehill123/article/details/18818643

  open -e test.jsp  

  open -t test.jsp

 

posted on 2016-10-28 21:10  FANNY1995  阅读(177)  评论(0)    收藏  举报