Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8497593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:10:12+00:00 2026-06-11T00:10:12+00:00

I want to launch several applications using ./application_name and each in separate terminal ,

  • 0

I want to launch several applications using “./application_name” and each in separate terminal , how do i do that in bash script.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T00:10:14+00:00Added an answer on June 11, 2026 at 12:10 am

    I am not sure I understand what you are asking for, but this is probably what you need:

    x-terminal-emulator -e "./application_name [arguments]" &
    

    This will start a new terminal emulator in the background which will be running the given command instead of a shell.

    If you system does not have a x-terminal-emulator alias, substitute the name of an actual terminal emulator, like xterm or gnome-terminal. They (pretty much) all support the -e option.

    Of course this requires that your bash script be running from inside an X11 session in the first place (not from a cron job or something like that), else there will be no $DISPLAY where the new terminal emulators can appear.

    EDIT: Whether or not the argument to -e is executed under a shell or directly seems to depend on which terminal emulator is used. For example, xterm runs it under a shell but gnome-terminal doesn’t. The upshot of this is that you may or may not be able to supply compound shell commands like cd foobar; ./something & wait as the argument to -e. As a workaround for those terminal emulators that don’t run the command under a shell, you can use -e 'sh -c "actual command"'. Proper quoting of special characters gets gets complicated because you have two levels of quoting, but it can be done.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to launch a bash script when a button is pressed on a
I have several intent using startActivityforResult() to launch. I want to receive several feedbacks.
I want to launch a background Python job from a bash script and then
I want to launch an app on OSX from a script. I need to
There is a webpage that has Input textfields. I want to launch the page
I want to launch psql.exe from an application. The user locates the script, so
i have a picasa app installed on my emulator,i just want to launch that
I have a modal window that I only want to launch when one of
I'm building an EC2 server using fabric, and want to launch a Twisted server
I want launch simple php daemon on Ubuntu without fork. source f.php: #!/usr/bin/php <?php

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.