Find the answer to your Linux question:
Results 1 to 2 of 2
I am trying to write a program (in C) or a script (no clue how to write scripts) that will open up 4 terminal windows, and type a specific command ...
  1. #1
    QMD
    QMD is offline
    Just Joined! QMD's Avatar
    Join Date
    May 2010
    Posts
    14

    Script/programming question for Xubuntu - opening multiple terminals

    I am trying to write a program (in C) or a script (no clue how to write scripts) that will open up 4 terminal windows, and type a specific command into each one, and execute it.

    The command is a ping command, but I have 4 different NICs, so I want to ping from each individual NIC. Currently, I have to open each terminal window up and type the command in, but I want to automate this to save time.

    Thanks

  2. #2
    QMD
    QMD is offline
    Just Joined! QMD's Avatar
    Join Date
    May 2010
    Posts
    14
    I found some shell information online, but my main issue is writing a script to open up multiple terminals and have a unique command for each one

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...