Quickly execute new Terminal command from the Dock
Command Line, OS X Apps, Tips & Tricks - November 10th, 2009 - 2 Comments
If you have the Terminal application stored in your Dock, you can quickly execute any new command by right-clicking (or control clicking) on the Dock icon and navigating up to “New Command” in the popup menu. Note that this will only execute the command you specified and will not leave you with a command line prompt afterwards, if you’re looking to continue to use the Terminal, just select ‘New Window’ instead.
Note that you must have the Terminal app already running to get these menu items available, thank you Michael for pointing this out!



This seems to work only if terminal app is already running. As soon as you quit the app those menu entries aren’t there anymore…
At least that’s the way the terminal app behaves on my MacBook running a german version of 10.6.2
Regards,
Michael
Thanks you guy. This is really helpful to me.