Run Command Without Opening Terminal on macOS

bashcommand lineshortcutterminalui

Is it possible to start a terminal command without opening the terminal first?

I have some quick commands, and for those I open the terminal window, run the command, and close it again. I generally don’t like my terminal program to be active all the time, because it clutters my dock.

Then I vaguely remembered, that there is the Alt-F2 thing on some Linux-distributions, where you can start a single command without opening a shell window first. I think I never used this function regularly, but this seems to be the thing I’m looking for.

Is there something like this on mac os?

Best Answer