用户在mac os平台上配置文件的时候有时候需要在mac终端里面配置一些文件,这时候就需要用命令在终端里面打开app应用程序,但是有很多的用户不会使用终端命令,小编为大家提供了一个在终端下打开app应用程序的教程。
打开终端 直接输入 open /applications/xxx(应用的名称).app 比如打开itunes输入:open /applications/itunes.app (注意open之后需要空格再输入斜杠 / )
mac 下在终端中打开应用程序的命令
from:http://macosx.com/forums/howto-faqs/29520-how-launch-application-terminal.html
the command is simply open (which can also be used for opening directories). the most basic example of launching an application:
open /path/to/some.app
more complex possibilities also exist:
open "/volumes/macintosh hd/foo.txt"
opens the document in the default application for its type (as determined by launchservices).
open /applications/
opens that directory in the finder.
open -a /applications/textedit.app "/volumes/macintosh hd/foo.txt"
opens the document in the application specified (in this case, textedit).
open -e "/volumes/macintosh hd/foo.txt"
opens the document in textedit (the -e option specifies textedit).
open http://www.apple.com/
opens the url in the default browser (lynx, naturally *wink*)
open "file://localhost/volumes/macintosh hd/foo.txt"
opens the document in the default application for its type (as determined by launchservices).
open "file://localhost/volumes/macintosh hd/applications/"
opens that directory in the finder.
如对本文有疑问, 点击进行留言回复!!
macOS Catalina和哪些应用不兼容 macOS Catalina不兼容的235个应用程序介绍
如何制作macOS Catalina启动盘 macOS Catalina启动盘制作教程
macOS Catalina10.15.1值得升级吗 macOS Catalina10.15.1更新了什么
Mac安装软件时提示已损坏怎么办?Mac打开应用提示已损坏解决办法
macOS Catalina10.15.2值得升级吗 macOS Catalina10.15.2更新了什么
苹果推送最新系统macOS Catalina 10.15.3开发者预览版Beta 1
macOS Catalina中的iPhone备份文件如何删除?
苹果发布macOS Catalina 10.15.3最新开发者测试版
网友评论