in reply to Running Multiple Commands using System

he error is, "---- only takes one arguement". In my case, the command is "sdb -d root on" and hence the error is "root only takes one arguement". Please resolve

Try something like this:

my @options = ( ' -d root' , 'on'); system ("sdb @options");
or play with the options till it accepts it. :-)

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^2: Running Multiple Commands using System
by dkhoriya (Initiate) on Jun 27, 2014 at 06:54 UTC
    Doesn't work that way. I am definitely a human and I play those who aren't ;-)