Results 1 to 5 of 5
  1. #1

    Buzzard2010's Avatar
    Member Since
    Oct 22, 2010
    Location
    Bretforton, Worcestershire
    Posts
    2,571
    Specs:
    MacBook Pro 15" 2014, 2.2GHz i7, 16GB RAM, 250GB SSD, OSX 10.9.5 - iPhone 5s 16gb
    Terminal Open Application help
    I'm quite new to the whole Terminal Application and learning the basics, just messing around trying to open applications using the "open -a" command, works great no problems, but here is the newbie question, when using "open -a chess" for instance it opens chess fine. But what do I do when I want to open Google Earth for example? If I type "open -a google earth" it obviously tries to find the application in /earth. What do I type to get the space in between "google" and "earth"?

    Many Thanks

    - Simon

    If you have been helped, don't forget to use the Reputation system at the top right of their post.
    May 2011
    Nominated: March 2011 & April 2011

  2. #2


    Member Since
    Mar 30, 2004
    Location
    USA
    Posts
    4,744
    Specs:
    12" Apple PowerBook G4 (1.5GHz)
    Couple ways:
    1. Quote it
    open -a "Google Earth"
    2. Escape it
    open -a Google\ Earth

    That's the general rule for specifying a file name/path in any Unix command, by the way; it's not just open that behaves that way.

  3. #3

    Buzzard2010's Avatar
    Member Since
    Oct 22, 2010
    Location
    Bretforton, Worcestershire
    Posts
    2,571
    Specs:
    MacBook Pro 15" 2014, 2.2GHz i7, 16GB RAM, 250GB SSD, OSX 10.9.5 - iPhone 5s 16gb
    Many thanks for the help

    - Simon

    If you have been helped, don't forget to use the Reputation system at the top right of their post.
    May 2011
    Nominated: March 2011 & April 2011

  4. #4

    RiDE's Avatar
    Member Since
    Sep 13, 2006
    Location
    Deep in the heart of Texas!
    Posts
    3,568
    Specs:
    Mac's
    it's the Space between Google and Earth that, in novice terms, messes up Terminal. quoting in the command gets past the space, and the \ essentially tells the system to ignore the space that is next.

    keep at it.

  5. #5

    Buzzard2010's Avatar
    Member Since
    Oct 22, 2010
    Location
    Bretforton, Worcestershire
    Posts
    2,571
    Specs:
    MacBook Pro 15" 2014, 2.2GHz i7, 16GB RAM, 250GB SSD, OSX 10.9.5 - iPhone 5s 16gb
    Many thanks, much help.

    - Simon

    If you have been helped, don't forget to use the Reputation system at the top right of their post.
    May 2011
    Nominated: March 2011 & April 2011

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Terminal Application won't take password
    By dotdotdot in forum OS X - Operating System
    Replies: 13
    Last Post: 04-03-2014, 06:28 PM
  2. logging in and out of terminal application
    By Straitsfan in forum OS X - Apps and Games
    Replies: 4
    Last Post: 12-20-2010, 09:52 PM
  3. Any way to open an application, then close, then open real fast?
    By yarjarrarr in forum OS X - Apps and Games
    Replies: 4
    Last Post: 09-26-2010, 05:47 PM
  4. Run Terminal commands outside application?
    By Corbab in forum OS X - Operating System
    Replies: 1
    Last Post: 11-24-2009, 03:11 PM
  5. Looking for a fancy terminal application
    By Slokunshialgo in forum OS X - Apps and Games
    Replies: 2
    Last Post: 07-04-2007, 03:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •