Mac 用命令行终端打开app应用程序
转自:http://www.33lc.com/article/51388.html
苹果mac os怎么用命令行终端打开app应用程序?有时在mac os平台上配置文件会需要在mac终端打开app应用程序。下文小乐哥为大家分享苹果mac os用命令行终端打开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.
Mac 用命令行终端打开app应用程序相关推荐
- 基于Linux命令行终端的ftp客户端程序
深入理解FTP(File Transfer Protocol)协议的有关知识,完成一个基于Linux命令行终端的ftp客户端程序专业程序代写大学生程序代写 转载于:https://www.cnblog ...
- [Tips]Linux在命令行中打开图形化程序的各种命令
各类图形化程序的命令行启动恒旭 打开文件夹的图形化界面 $> nautilus 文件夹名 打开网易云音乐 $> netease-cloud-music 打开firefox $> fi ...
- Mac在命令行中打开Finder
在当前目录下,使用如下代码: open . 即可打开当前Finder,并定位当当前目录
- windows_用命令行/终端打开网页(url)(launch a webpage by winodws CLI)
文章目录 在powershell/cmd下 powershell 函数来打开 在powershell/cmd下 使用start 打开http start http://www.baidu.com 更短 ...
- Mac系统打开命令行终端及查看操作系统版本号的方法
原文地址为: Mac系统打开命令行终端及查看操作系统版本号的方法 Mac系统打开命令行终端及查看操作系统版本号的方法 Mac系统打开命令行终端的方法: 应用程序 --> 实用工具 --> ...
- 终端 删除php文件内容,Mac_mac命令行终端可以卸载吗?mac命令行终端卸载软件教程, mac os系统卸载软件方式有 - phpStudy...
mac命令行终端可以卸载吗?mac命令行终端卸载软件教程 mac os系统卸载软件方式有多种, 卸载工具,程序图标拖拽到垃圾桶皆可,但对顽固残留软件该怎么办呢?今天phpstudy小编就为大家分享ma ...
- mac创建文件服务器,mac命令行终端怎么创建文件 mac命令行终端创建文
导读: 想要在mac os x系统中创建大容量空白文件其实非常简单.今天脚本之家小编为大家介绍两种创建文件教程,第一种就是使用mac命令行终端创建文件,第二种是使用磁盘工具应用... 想要在mac o ...
- mac终端里新建html文件,mac命令行终端怎么创建文件 mac命令行终端创建文件教程...
mac命令行终端怎么创建文件?想要在mac os x系统中创建大容量空白文件其实非常简单.本文小乐哥为大家介绍两种创建文件教程,第一种就是使用mac命令行终端创建文件,第二种是使用磁盘工具应用. ma ...
- pycharm中导出依赖包 在pycharm下边的Terminal打开命令行终端执行命令
pycharm中导出依赖包 1 在pycharm下边的Terminal打开命令行终端执行命令 D:\nlp\salary\aSalary>pip freeze > d:\nlp\salar ...
最新文章
- python php linux-linux怎么运行python?
- javascript实现base64加解密
- nginx访问本地目录一直不好使_nginx 配置根目录不生效问题
- FFmpeg源代码:avcodec_send_packet
- mybatis3 oracle,Mybatis3中對oracle的批量插入
- 读书笔记_代码大全_第14章_组织直线型代码_第15章_使用条件语句
- 阿里云centos云服务器 - 网站搭建教程
- CleanMyMac下载正版清理苹果mac系统电脑蓝奏云
- 10折交叉验证深入理解
- python股票买卖问题_LeetCode-Python-714. 买卖股票的最佳时机含手续费
- 阿里巴巴大数据实践之数据建模
- Android Qcom Display学习(五)
- zbrush常用笔刷_zbrush笔刷大合集
- 猿辅导python编程老师面试_猿辅导辅导老师面试过程➕感受
- led和白炽灯哪个对眼睛好?分享光线舒适的LED护眼灯
- 社区-发表评论和回复评论
- php env 函数不存在,PHP编程:探究Laravel使用env函数读取环境变量为null的问题
- 大数据【企业级360°全方位用户画像】项目介绍
- android界面布局
- 精确拐点交易体系之追涨停策略
热门文章
- JVM原理和优化GC清理
- 超级详细:一个漂亮的Vue分页器组件的实现
- 2022-2028全球与中国制造执行系统市场现状及未来发展趋势
- MATLAB读取文件
- 求质数算法的 N 种境界[1] - 试除法和初级筛法
- FPGA学习笔记2-Quartus2简介
- 软件测试中tc是什么岗位,豪之诺软件测试如何让TC和Bug具备专业性
- 《Learning to Denoise Unreliable Intercations for Graph Collaborative Filtering》个人笔记
- 理解3D CNN及3D卷积
- Hadoop源码解析之Mapper数量计算公式