苹果Mac os系统中在终端下打开APP应用程序方法介绍

时间:2022-05-18 18:42:49 

在Mac os平台上有时候需要在Mac终端里面配置一些文件,这时候就需要用命令在终端里面打开app应用程序,那么,在Mac os中如何打开APP应用程序呢?针对此问题,本文就为大家进行解答

用户在Mac os平台上配置文件的时候有时候需要在Mac终端里面配置一些文件,这时候就需要用命令在终端里面打开app应用程序,但是有很多的用户不会使用终端命令,小编为大家提供了一个在终端下打开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应用程序
0
投稿

猜你喜欢

  • 如何设置Word文本框旋转?Word文本框旋转方法介绍

    2022-08-06 13:22:57
  • excel表格计算合计项的方法

    2022-04-21 18:54:25
  • iOS15.5验证通道关闭,升级iOS16后还可以降级吗?

    2023-08-03 21:35:50
  • 函数公式之IF函数

    2023-07-05 18:07:32
  • Word打开文件失败试图打开文件时遇到错误该怎么办?

    2022-06-24 14:22:04
  • word设置文字竖排显示的两种方法

    2023-06-18 13:22:26
  • Mac电脑如何为网页在桌面创建快捷方式?

    2023-07-21 05:25:47
  • ​电脑版wps如何快速替换表格内容

    2023-04-18 13:59:30
  • WPS表格引用之:单元格和区域的表示

    2022-08-10 07:54:21
  • Pr 入门教程「35」了解音轨混合器

    2023-11-07 12:51:01
  • Excel名称框使用技巧

    2023-04-26 18:41:30
  • WPS word快速删除文字中的数字部分

    2022-04-10 12:46:24
  • WPS 表格和文字转PDF时如何保留批注内容?

    2022-11-09 03:52:41
  • wps2013怎样设置页面边距

    2023-04-12 14:42:44
  • 编写Excel宏,轻松完成单元格数据互换 1

    2022-02-17 01:17:32
  • 2010word中如何在其中一页去除页眉页脚

    2023-11-30 01:22:13
  • excel如何设置单色打印 excel设置单色打印操作方法

    2023-02-13 12:37:53
  • 预算不够还想买苹果?请跟我来

    2023-09-19 03:13:53
  • 自从MAC上装了这些沙雕软件, GIF【斗图】根本停不下来

    2023-12-25 06:36:05
  • InDesign 教程「31」,如何创建和编辑图层?

    2023-03-21 21:43:55
  • asp之家 电脑教程 m.aspxhome.com