Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Running Multiple Commands using System

by zentara (Archbishop)
on Jun 26, 2014 at 11:25 UTC ( [id://1091338]=note: print w/replies, xml ) Need Help??


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 ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1091338]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-03-28 16:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found