Is it possible to open a new tab in Mac OS X’s terminal from the command line in a currently opened tab?
I know that the keyboard shortcut to open a new tab in Terminal is “CMD+t” but I am looking for a script-based solution executed in the command line.
Try this:
But if you need to run dynamic command, set
myCommandvariable, and replace last line with: