• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to run shell scriptfile multiple times in a single PC

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello every one

I have to run a 'sh' application in a single PC multiple times .please explain me how to do this .
is it possible to run the same application multiple times.

I had tried running the application but when running the second time the previously run application will get terminated. so is there any possibility to run the same application multiple times simultaneously in single machine.
My OS is Ubuntu.

Hoping your earliest reply....

Thanks in advance.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It depends on the application. Some applications will allow you to run only one copy at a time, they check if the application is already running when you start it up. But most applications don't have such a check and there's no problem running them multiple times.
 
prajna pa
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for the information sir.

If i want to run multiple times is there any setting or commands to be written inside shell script file.

One more thing i noticed is if i run one application and wait for a second and again run the same application it will run
so what will be the reason ..
how to solve the issue


script file contains the following.
 
Oh the stink of it! Smell my tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic