shell script to open many terminals from a parent terminal and execute different cmds

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gunjan29484
    New Member
    • Dec 2007
    • 4

    shell script to open many terminals from a parent terminal and execute different cmds

    Hello,

    I want to open 5 terminals from a parent terminal and place these terminals on the screen properly so that each terminal can be viewed properly at the same time.
    Also, i want to execute differnet commands in each terminal.

    Can you help me please?

    Thanks,
    Gunjan
  • micmast
    New Member
    • Mar 2008
    • 144

    #2
    you could create a script that will open a new terminal and call a script from within....

    script 1:
    Code:
    xterm -e <whatever needs to be run in a seperate window> &
    xterm -e <whatever needs to be run in a seperate window> &
    xterm -e <whatever needs to be run in a seperate window> &
    xterm -e <whatever needs to be run in a seperate window> &
    xterm -e <whatever needs to be run in a seperate window> &
    xterm -e <whatever needs to be run in a seperate window> &

    Comment

    Working...