How do I open a second window in terminal?

As @noisneil says, if you don't need to interact with the shell (like typing in a password or similar) you'll find it easier to use a KM "Execute Shell Script" action than to get the contents of a Terminal window and then parse out what you need. You can read about the action on the Wiki -- as always, it'll make more sense if you've at least skimmed the manual so you know where to go later to find out about other actions, tokens, variables, and so on.

And do have a read of Tip: How Do I Get The Best Answer in the Shortest Time? so you get the best bang for your limited-questions buck!

2 Likes