NetBeans 6.9.1 comes with seamless Terminal integration. You can open the terminal view from: Window -> Output -> Terminal.
From that you can open several remote and local terminals by clicking on the icons in the left upper corner.
I use the Terminal view to monitor local and remote Glassfish instances, tagging / pushing the hg repository. Enjoy!
NEW workshop: Building HTML 5 Applications Without Frameworks, Full week in December 2016: from Java EE 7 Bootstrap, Effective, Architectures over Testing to Microservices
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.