command to open new shell session
I want to write a simple shell script to open a new session.
Below is the normal step I use.
I use KDE3.1. When I click shell botton at the task bar, the black shell screen show up. I can create a new session by clicking a new shell botton at the bottom-left of the window or click session> New shell. The problem is, I want to run the program I wrote in different session. Every time I want to test my program, I have to click new session and enter command( which is quite long) in each of the session manaully.
Please, can anyone give me a sample script to run at one shell and open new sessions and run the program one at a session automatically. This will be a great help. Thank for every comment.