New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Terminal Open Application help


Post Reply New Thread Subscribe

 
Thread Tools
Buzzard2010

 
Buzzard2010's Avatar
 
Member Since: Oct 22, 2010
Location: Sheffield, UK
Posts: 2,571
Buzzard2010 is just really niceBuzzard2010 is just really niceBuzzard2010 is just really niceBuzzard2010 is just really niceBuzzard2010 is just really nice
Mac Specs: iMac 21.5" i3 500gb HDD 4gb RAM OSX 10.9.2 - iPhone 5s 16gb

Buzzard2010 is offline
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 bottom of the users profile.
May 2011
Nominated: March 2011 & April 2011
QUOTE Thanks
technologist

 
Member Since: Mar 30, 2004
Location: USA
Posts: 4,744
technologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond repute
Mac Specs: 12" Apple PowerBook G4 (1.5GHz)

technologist is offline
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.
QUOTE Thanks
Buzzard2010

 
Buzzard2010's Avatar
 
Member Since: Oct 22, 2010
Location: Sheffield, UK
Posts: 2,571
Buzzard2010 is just really niceBuzzard2010 is just really niceBuzzard2010 is just really niceBuzzard2010 is just really niceBuzzard2010 is just really nice
Mac Specs: iMac 21.5" i3 500gb HDD 4gb RAM OSX 10.9.2 - iPhone 5s 16gb

Buzzard2010 is offline
Many thanks for the help

- Simon


If you have been helped, don't forget to use the Reputation system at the bottom of the users profile.
May 2011
Nominated: March 2011 & April 2011
QUOTE Thanks
RiDE

 
RiDE's Avatar
 
Member Since: Sep 13, 2006
Location: Deep in the heart of Texas!
Posts: 3,559
RiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond repute
Mac Specs: Mac's

RiDE is offline
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.
QUOTE Thanks
Buzzard2010

 
Buzzard2010's Avatar
 
Member Since: Oct 22, 2010
Location: Sheffield, UK
Posts: 2,571
Buzzard2010 is just really niceBuzzard2010 is just really niceBuzzard2010 is just really niceBuzzard2010 is just really niceBuzzard2010 is just really nice
Mac Specs: iMac 21.5" i3 500gb HDD 4gb RAM OSX 10.9.2 - iPhone 5s 16gb

Buzzard2010 is offline
Many thanks, much help.

- Simon


If you have been helped, don't forget to use the Reputation system at the bottom of the users profile.
May 2011
Nominated: March 2011 & April 2011
QUOTE Thanks

Post Reply New Thread Subscribe


« iRcon for Mac | Aperture to Outlook 2011 »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Application open after closing window? thebrok2 OS X - Operating System 4 05-05-2010 05:08 PM
SciDAVis (Mac OSX 10.6) - application quits on open gadje OS X - Apps and Games 2 11-22-2009 07:00 PM
Can I bind a keyboard shortcut to open an application? silvine OS X - Operating System 0 08-14-2008 04:31 PM
Fax Browser application corrupted - can't open Horatio Street OS X - Operating System 6 11-10-2006 08:44 AM
Open GUI applications as root gatorparrots OS X - Development and Darwin 1 03-03-2003 06:56 PM

All times are GMT -4. The time now is 08:29 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?