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 (Curate)
on Nov 20, 2018 at 12:46 UTC ( #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
Node Status?
node history
Node Type: note [id://1226068]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2021-04-22 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?