e30chris + automation   9

Don Libes' Expect: A Surprisingly Underappreciated Unix Automation Tool
expect -c '
spawn bash
sleep 0.3
send "top\n"
interact timeout 2 return
send "M"
interact timeout 2 return
send "c"
interact timeout 2 return
send "q"
sleep 0.3
ex
bash  cli  linux  sysadmin  tools  automation 
december 2016 by e30chris

Copy this bookmark:



description:


tags: