If you need to get to your Terminal's settings, hold down the command key while tapping the comma button. Note that the file pathway is also fundamental here. Open -a 'APP NAME' Open a text-based file using the text editor: Open Open a file using an application you specify:Īgain, you'll need the file pathway to use this command. In either case, hit the spacebar following the app name and then the command would take hold. Even though the latter appears to only copy the actual file name, it actually captures the full pathway. To do so, you can either drag the file to the Terminal window to add to the line, or right click the file and select 'Copy ' and then use the Command+V shortcut to paste it into the Terminal. Open -a 'APPLICATION NAME' Open a file using the default application:įor this, you'll have to know the command pathway for the file you want to access. Or, if the application has a space in its name:
If you input this exact phrasing, Terminal will open your Spotify app.