Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: How to execute a linux system command with perl?

by cavac (Parson)
on Nov 20, 2018 at 12:46 UTC ( [id://1226068]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @cmd = qw[/sbin/route add default gw 172.16.0.200 dev enxb827eb9540
    +0d];
    
  2. or download this
    my @cmd = split/\ +/, "/sbin/route add default gw 172.16.0.200 dev enx
    +b827eb95400d";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1226068]
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 2024-04-16 14:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found