Mac 下在终端中打开应用程序的命令
来源:互联网 发布:手机可以开淘宝网店吗 编辑:程序博客网 时间:2024/05/29 06:42
转载自:http://willonboy.tk/?p=29
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.
- Mac 下在终端中打开应用程序的命令
- mac在终端打开应用程序
- Mac OS 如何在终端下打开 APP 应用程序?
- mac:在当前文件中打开终端
- 在终端中打开各类文件的通用命令
- mac 下打开终端的快捷键
- linux中在终端打开文件夹命令
- linux中在终端打开文件夹命令
- Mac中打开命令行终端的方法
- shell在终端中打开另一个终端执行命令
- unbuntu下右键在终端中打开
- mac下的简单的终端命令
- mac下一些终端命令的使用
- mac 终端下的命令大全
- mac下合并分区的终端命令
- Mac下的终端命令大全
- Mac-如何在任意文件夹下打开终端
- MAC 下终端打开app
- (转)C++静态数据成员和静态成员函数小结
- H.264视频编码技术学习资源(不断收集)
- this super
- Outlook 收件箱下子文件夹设置邮件提醒
- LINUX文件锁定
- Mac 下在终端中打开应用程序的命令
- win32使用GDI编译错误
- MDK4.23调试LPC1114时JLINK的设置
- 重载 重写 隐藏
- Android Threads, Handlers and AsyncTask - Tutorial
- This application is currently offline解决办法
- tomcat启动log和级别的设定 How do I enable theJULI logging in a Tomcat Server instance?
- GTK、GDK、GLIB三者的关系
- debug指令集