Running shell scripts from Finder

Clicking on shell scripts in Finder does not run them, but most probably open them for edit.

Setting the execute flag and changing the extension to *.command informs the Finder to run the script in a Terminal window. On script completion the terminal window needs to be manually closed.

A similar effect can be obtained by manually setting the property Open With: for the given script.


About Liviu Ionescu (ilg)
Hi! My name is Liviu Ionescu (ilg, ilegeul or eunete for colleagues and friends) and I’m a senior IT engineer. Or should I say a real programmer?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: