Trigger Any Terminal Command With A Keyboard Shortcut Using Automator

Trigger Any Terminal Command With A Keyboard Shortcut Using Automator

Mac: If you tend to run the same Terminal command pretty often, then it makes sense to do one of two things: Create a text expander snippet or turn it into a keyboard shortcut. How-To Geek shows you how to do the latter using Apple’s built-in Automator tool.

All you’ll need to do is create a new Automator action using the Run Shell Script command, type in your Terminal command, then add a shortcut in the System Preferences pane. The process is pretty simple, so head over to How-To Geek for the full guide.

How to Run Any Mac Terminal Command With a Keyboard Shortcut [How-To Geek]


The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments