当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 自动输入用户名和密码用于tenlnet的shell, 哈哈 用l
 

 

 ·ksh用的环境变量    »显示摘要«
    摘要:kornshell reserved variables :1kornshell reserved variables : +-----------+-----------------------------------+-------------------+------+ | variable | what this variable holds | default | who......
 ·bash 内建命令 read    »显示摘要«
    摘要:read [-ers] [-u fd] [-t timeout] [-a aname] [-p prompt] [-n nchars] [-d delim] [name ...] one line is read from the standard input, or from the file descriptor fd supplied as an argument to the -u opt......


自动输入用户名和密码用于telnet的shell
自动输入用户名与密码用于tenlnet的shell, 哈哈

【程序编程相关:J2ME Game Developmen

【推荐阅读:Coding Tips(J2ME)

用linux的朋友且经常用配置路由器的可有福了.

#===========autotelnet.sh============== 【扩展信息:game engine

#!/bin/bash

if (( $# != 1 ))

then

echo " usage: address "

exit 1

fi

ip=

inp1=`cat param |grep "$ip" |awk { print }`

inp2=`cat param |grep "$ip" |awk { print }`

inp3=`cat param |grep "$ip" |awk { print }`

inputfile=in

outputfile=out

rm -fr $inputfile

rm -fr $outputfile

mknod $inputfile p

touch $outputfile

#file description 7 for out and 8 for in

exec 7<>$outputfile

exec 8<>$inputfile


...   下一页
 ·xargs 构造参数列表并运行命令    »显示摘要«
    摘要:xargs 命令 用途 构造参数列表并运行命令。 语法 xargs [ -p ] [ -t ] [ -e [ eofstring ] ] [ -e eofstring ] [ -i [ replacestring ] ] [ -i replacestring ] [ -l [ number ] ] [ -l number ] [ -n number [ -x ] ] [ -s size ] [ c......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE