To open iTunes:open -a iTunes Use quotation marks if the application has a space in its name:open -a “App Store”

To open iTunes:open -a iTunes Use quotation marks if the application has a space in its name:open -a “App Store”

To open iTunes:open -a iTunes Use quotation marks if the application has a space in its name:open -a “App Store”

For example, you can open a . doc file with TextEdit:open Downloads/Instructions. doc -a TextEdit

Use -e to specify TextEdit, or -t to specify your default text editor:open Downloads/Instructions. doc -e Add -g to keep the application in the background, so you remain centered in Terminal:open -g -a iTunes

Use -e to specify TextEdit, or -t to specify your default text editor:open Downloads/Instructions. doc -e Add -g to keep the application in the background, so you remain centered in Terminal:open -g -a iTunes

Use -e to specify TextEdit, or -t to specify your default text editor:open Downloads/Instructions. doc -e Add -g to keep the application in the background, so you remain centered in Terminal:open -g -a iTunes

open -F -a TextEdit

open -n -a “Wake Up Time” (Note: this is not a default OS X program. ) This may cause unexpected behavior in other applications that interact with the duplicate application.

Locate the application in Finder. Right-click the application and select “Show Package Contents. " Locate the executable file. Typically, this is in Contents → MacOS, and has the same name as the application. Drag that file onto your blank Terminal command line. Hit Enter to launch that program. Leave your Terminal window open while you use the application. Quit the application to return to regular Terminal operations.

Click the apple symbol in the top left corner of your screen. Hold down ⌥ Option and click System Information in the drop-down menu. In the System Information window’s left sidebar, click Software → Applications. It may take a couple minutes to load the list.

An absolute file path always begins with the symbol /. It describes the file path in relation to the root directory (usually “Macintosh HD”).

Enter pwd to check your current directory. The file you are trying to open must be within this directory, not at a higher level. Find your current directory in Finder. Open a series of folder until you reach the file you’d like to open. Type in the names of the folders you opened in order, separated by / symbols, then end with the file name. For example, open Documents/Writing/Novel/ch3. pdf. (You may start with . / in front of Documents for the same result. )

Enter pwd to check your current directory. The file you are trying to open must be within this directory, not at a higher level. Find your current directory in Finder. Open a series of folder until you reach the file you’d like to open. Type in the names of the folders you opened in order, separated by / symbols, then end with the file name. For example, open Documents/Writing/Novel/ch3. pdf. (You may start with . / in front of Documents for the same result. )

Select the file in Finder. Press ⌘ Command+I. In the Info window, look for “file name & extension” to see the whole name. Or switch directories to the folder that contains the file. Enter ls into your Terminal command line to list all files in your directory. Or drag and drop the file into your Terminal window.