前提mac已安裝了Sublime text3編輯器bash
sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
而後就能夠直接命令行啓動sublime了,好比:app
subl .bash_profile subl .../error.log