Hi,

is there a way to pass multiple commands to zkCli on the command line?

this works:
echo "create /test3 'sth' " | zkCli

but this doesn't
echo "create /test3 'sth'  \n create /test3 'sth' " | zkCli

what I'd like to do is to authenticate and then create nodes (chef setup of a server) so splitting the multiple zkCli commands into multiple bash commands doesn't work.

THX
Peter

Reply via email to