Friday, January 13, 2012

echo -n 'y\ny' | ./shell.sh

This echo will answer two y separated by new line, which is asked by shell.sh. This is even nice than expect

Nice trick from http://www.van-lieshout.com/2009/03/unattended-upgrade-of-hp-management-agents/

No comments:

Post a Comment