in reply to Re: Running Multiple Commands using System
in thread Running Multiple Commands using System
gives error of "root does not take more than one arguement" while the following system call runs fine.#!/usr/local/bin/perl use strict; use warnings; system("sdb -d root on 'sdb -d shell; cd /opt; ls';bash ");
and running independentlysystem("sdb -d shell 'cd /opt; ls';bash ");
also works fine.system("sdb -d root on");
|
|---|