As I am new to Linux and using ubuntu and I want help to write a script which will be having multiple commands and for each command a respective terminal should be opened and execute the command.
As I have written a script which having commands like:
mvn tomcat:run -Dmaven.tomcat.port=8081
mvn tomcat:run -Dmaven.tomcat.port=8181
So all these two command should be run in different terminal.