Mac opens the application on the terminal

Source: Internet
Author: User

Today I have studied the Mac terminal startup process. The following uses sublime as an example to describe how to add an app startup method to a Mac terminal.

Method 1: Use "open-A/applications/sublime \ Text \". This method can be opened directly, but it is easy to do this every time. Method 2 found on the Internet

Method 2: Use "alias sublime = 'open-A/applications/sublime \ Text \ '", so that we can directly open sublime after executing the sublime command, however, If you disable the terminal and restart it, it will become invalid.

Method 3: Right-click sublime-contents-sharedsupport-bin in the application and find a subl file. Copy the file to the/usr/bin/directory (you can use command + Shift + G to open the path ). Then you can execute subl in the terminal to open sublime, which is convenient and will not expire.


* This article is from the blog "Li bogarvin"

* Indicate the source for reprinting.: Http://

**************************************** **/

Mac opens the application on the terminal

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.