How to run installed apps from the command line

Discussion in 'macOS' started by Cue, Nov 3, 2006.

  1. Cue macrumors regular

    Joined:
    Mar 10, 2005
    Location:
    Edinburgh, UK
    #1
    I'm curious as to how I can run applications that I put in the "Applications" folder from the console.

    Did a rough search, couldn't find anything on the subject.

    TIA.
     
  2. iMeowbot macrumors G3

    iMeowbot

    Joined:
    Aug 30, 2003
    #2
    The easy way is to use the built-in open command. man open for details.

    open -a "Adobe Photoshop CS2" will run the app.

    open -a "Adobe Photoshop CS2" meow.psd will run PS and open your file for editing.
     

Share This Page