TECHIES WORLD

For Techs.... Techniques.... Technologies....

CpanelLinux

How to use Bash command in Perl script

In some cases we need to use  Bash commands in Perl script.  We can use backticks for calling bash commands in such situations.

$result=`Linux Comand`

Here just replace 'Linux Comand' with the command need to execute.

That's all....

 

Leave a Reply