Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 have a client that has a mac os x leopard (10.5). I want to be able to ask him to save a shell script that I made in his desktop and execute it, but I can't open the terminal without the client thinking that I'm trying to destroy his computer. :-(

Is there any way I can make the shell executable without entering the terminal and using chmod?

Thanks, Rafael

share|improve this question
On a side note: …without the client thinking that I'm trying to destroy his computer. Trust issues? – fideli Dec 14 '10 at 16:10
Good grief. Have you pointed out that Apple included Terminal for a reason other than self destruction? – penguirl Dec 14 '10 at 16:22
Thank god the evil commands that can be executed in Terminal can never be performed without opening Terminal, as my answer clearly shows cough. --- @fideli The client might have had a bad experience in the past and, without further knowledge, associated that box with the text in it with pain, costs, and downtime. – Daniel Beck Dec 14 '10 at 17:00
The client doesn't understand anything about computers, and he doesn't know me, but as he can't fix his problem normally I have to step up and make something work for him via remote login. Most clients don't complain if I open the terminal, but some do because they have no notion of what I'm doing. – Rafael Aug 15 '11 at 17:00
up vote 4 down vote accepted

Make an Automator executable or AppleScript that performs the desired command-line actions.


tell application "Terminal" to do shell script "chmod u+x ~/path"

Terminal will start, but not open a new window.


  1. Get ... Finder Items
  2. Run Shell Script with Pass input as arguments and chmod u+x $1
share|improve this answer

Go the easy route:

"Platypus can be used to create native, flawlessly integrated Mac OS X applications from interpreted scripts such as shell scripts or Perl and Python programs. This is done by wrapping the script in an application bundle directory structure along with an executable binary that runs the script."

Hope that helps!

Have a wonderful day.

~ tim

share|improve this answer

You can store it into a tar.gz file and unpack it and run it... =)

share|improve this answer

Try changing the extension on the script to


That should make it a clickable item in Finder.

share|improve this answer
.tool works as well. – Daniel Beck Dec 14 '10 at 16:05
It changes the default Application to Terminal but stills requires that the shell script has execution permission. It tells me to open Get Info to change it, but there's no option to do it. – Rafael Dec 14 '10 at 16:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .