Some Tricks in Mac

1. How to open a text file in terminal:

  open -a TextEdit filename

2. How to open a new Rstudio:

  open -n /Application/Rstudio.app

 

3. How to visualize the hidden files in mac: 

  defaults write com.apple.finder AppleShowAllFiles -bool YES

4. How to release memory in Mac  
  purge

5. 用了这么长时间才发现,原来linux ubuntu中的 ~/.bashrc 文件对应mac的 ~/.profile 文件。

  把那些path什么的写到这个 ~/.profile 文件当中, mac打开terminal的时候就会自动载入了哦!

posted on 2013-05-02 01:59  Forever_YCC  阅读(168)  评论(0编辑  收藏  举报

导航