bash expect how to save respond output to a variable during the ssh
connection
i ssh into a machine. and i do a send command. I want to capture all those
output to a variable.
I tried
output= $(send "rpm -i mypkg.rpm")
But it doesnt work. any idea?
No comments:
Post a Comment