UNIX SHELL PROGRAMING 2
http://ecl.informationbuilders.com/iway/index.jsp?topic=%2Fshell_60%2Fservice.manager%2Fsource%2Ftopic208.htm TELNET SHELL SCRIPT #!/bin/sh #+------------------------+ #| EMR FILE DELETE | #+------------------------+ host=100.10.10.100 user="scott" pass="tiger" cmd="rm -rf /cvs/dpp/emr/ERP/*" ( echo open ${host} sleep 2 echo ${user} sleep 2 echo ${pass} sleep 2 echo ${cmd} sleep 2 echo exit ) | ..
2013.05.21