Mac常用

作者: 西亭月圆 | 来源:发表于2020-02-23 17:35 被阅读0次

    1、查找命令

    which  xxx

    2、查找文件

    mdfind -name xxx

    3、finder显示隐藏文件/文件夹

    defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder

    4、重新隐藏finder中的隐藏文件

    defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder

    5、当前用户环境变量修改:~/.bash_profile

    6、brew安装应用报错时,使用brew doctor查看修正方案

    7、python -m SimpleHTTPServer  启动Http文件服务,共享当前路径下的文件,访问http://[IP address]:8000

    相关文章

      网友评论

          本文标题:Mac常用

          本文链接:https://www.haomeiwen.com/subject/ciqjqhtx.html