Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Needed Guidance: Linux terminal automation

by zek152 (Pilgrim)
on Jun 09, 2011 at 14:33 UTC ( [id://908920]=note: print w/replies, xml ) Need Help??


in reply to Needed Guidance: Linux terminal automation

Why do you need a perl script to run other perl scripts. Couldn't you just put the functionality of the scripts into the same script?

Some background will be helpful as to what you are trying to accomplish. A different approach might be better. For example 'tabs' are a device to make things easier for humans. Programs dont need to run in tabs. To run a command in the background you can append a '&' to the command. For example if I wanted to run firefox and continue using the terminal i would type "$ firefox &".

Likewise if i were trying to launch multiple perl scripts at the same time I would write a bash script that consisted of something like:

#!/bin/bash ./perlscript1.pl & ./perlscript2.pl & ./perlscript3.pl & #repeat ad nauseum

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://908920]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2026-01-15 15:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (118 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.