Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to create a shortcut in my .profile file in OS X Lion to launch the iWork program "Numbers".

The application is in:

/Applications/iWork '09/

I created this shortcut:

alias psd="open -a Adobe\ Photoshop\ CS3"

It works fine to open Photoshop. So I created:

alias num="open -a iWork\ \'09/Numbers"

When I type "num" I get an error:

Unable to find application named 'iWork '09/Numbers'.

I don't think it's a problem of backslashes before the space or the quote because I have tried countless variations to no avail. I also tried adding ".app" to the application name, but got the same error message.

How can I create this alias?

share|improve this question
up vote 4 down vote accepted

Have you considered the following?

open -a Numbers

Applications opened by open aren't opened relative to their path, but just according to their actual name, as identified in Contents/Info.plist in the .app file itself.

If you want to be sure, you can also use the Bundle Identifier with the -b option:

open -b

Which can be found in the Info.plist file too:

enter image description here

share|improve this answer
You could also use an absolute path like open "/Applications/iWork '09/" – user495470 Dec 12 '11 at 11:25
I started with that, but I got an error message. After reading your post, I went back and tried again. This time I noticed that the problem came from an old Mac System file from the '90s called Numbers. Once I deleted it, everything was fine. Thanks for the useful information, too. – Andrew Swift Dec 12 '11 at 11:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.