oikool has asked for the wisdom of the Perl Monks concerning the following question:
I want to write this in perl (/etc/init.d/ntpd start) and grep the statusntpd status when its stopped.
system ("/etc/init.d/ntpd start");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: to write /etc/init.d/ntpd start
by hippo (Archbishop) on Feb 20, 2014 at 11:20 UTC | |
|
Re: to write /etc/init.d/ntpd start
by gri6507 (Deacon) on Feb 20, 2014 at 14:12 UTC | |
|
Re: to write /etc/init.d/ntpd start
by karlgoethebier (Abbot) on Feb 20, 2014 at 19:48 UTC | |
|
Re: to write /etc/init.d/ntpd start
by locked_user sundialsvc4 (Abbot) on Feb 20, 2014 at 15:22 UTC | |
by karlgoethebier (Abbot) on Feb 20, 2014 at 20:24 UTC |