Pweb 发表于 2013-2-7 08:17:12

Mac OS用终端打开 TextEdit 的指令

打开终端,输入:sudo open -a TextEdit.app /编辑文件路径
 
如编辑hosts文件:
 
sudo open -a TextEdit.app /private/etc/hosts
页: [1]
查看完整版本: Mac OS用终端打开 TextEdit 的指令