linux expect
来源:互联网 发布:手机 js保存图片 编辑:程序博客网 时间:2024/05/22 22:25
apt-get install expect tcl
====================下面是在expect中,使用function的方法=================================
#!/usr/bin/expect
proc exec_shell_command {} {
expect "shell>"
}
exec_shell_command
====================================
CTRL +a 是\001
ctrl+c 是\003
........
ctrl+r \018
上下左右鍵
send "\033\[A"
send "\033\[B"
send "\033\[C"
send "\033\[D"
0 0
- expect linux
- linux expect
- Linux expect
- Linux expect
- linux expect
- linux expect
- linux expect
- Linux expect
- expect spawn、linux expect 用法
- expect spawn、linux expect 用法
- expect spawn、linux expect 应用
- expect spawn、linux expect 用法
- expect spawn、linux expect 用法
- expect spawn、linux expect 用法
- linux expect spawn、linux expect 用法
- expect spawn、linux expect 用法小记
- expect spawn、linux expect 用法小记
- expect spawn、linux expect 用法小记
- Java 8简明教程
- 树状数组的应用(SOJ2559)
- Access vba动态创建ActiveX控件
- c语言贪吃蛇的源码,用'A''S''D''W'操作
- 《深入浅出数据分析》资源汇总
- linux expect
- Xess SDRAM conctrller
- php怎么连接access数据库
- 养山羊必须要注意的地方
- android调用第三方库——第四篇——调用多个第三方库
- 树状数组的应用(SOJ2728)
- DP训练 K好数
- Boost库学习之旅入门篇
- 请简要描述客户端发送的http request header都包含哪些内容