How to use osascript to open the Terminal App in a new window and make sure it's on the top of all other windows?
Solution 1:
Activate
Use the AppleScript command activate to bring the Terminal.app application to the front:
tell application "Terminal"
activate
end tell
Using osascript
this becomes:
osascript -e 'tell application "Terminal" to activate'