linux命令行下发送msn消息
时间:2005-11-24 来源:huhuegg
在下面站点下载tmsnc工具
http://tmsnc.sourceforge.net/download.html
#!/bin/sh
#用spawn激活程序,expect判断回显内容
expect -c "spawn ./msn -l [email protected];
expect "Enter password:";
send "aaa ";
expect sleep 8;
send "/chat [email protected] ";
expect sleep 1;
send "/window close ";
expect sleep 1;
send "/quit ";
expect"
相关阅读 更多 +