- Community Home
- >
- HPE Community, Taiwan
- >
- Tru64 Unix & OpenVMS
- >
- Tru64 Unix
- >
- 分享我的知識 : expect 的使用及安裝
Tru64 Unix
1748232
會員
3320
線上
108759
解決方案
論壇
類別
Company
Local Language
返回
論壇
討論平台
返回
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
部落格
信息
社區語言
語言
論壇
部落格
文章選項
- 訂閱此主題的RSS 提要
- 將此主題標記為未讀
- 將主題標記為已讀
- 將主題在本帳號置頂
- 標示為書籤
- 訂閱此主題
- 列印此頁
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 11-27-2004 01:53 PM
在 11-27-2004 01:53 PM
分享我的知識 : expect 的使用及安裝
1)安裝
# rpm -ivh cygnus_expect-99r1-4.alpha.rpm
cygnus_expect #########################################
軟體在open source 光碟裡面
2)
cat test.sh
#!/usr/bin/expect
spawn telnet 172.16.12.52
expect "login:"
send "root\r"
expect "Password:"
send "manager1\r"
send "uname -a\r"
send "uname -n\r"
interact
這樣執行test.sh就可以不用敲帳號密碼就可以login 到另一機器執行command 了
# rpm -ivh cygnus_expect-99r1-4.alpha.rpm
cygnus_expect #########################################
軟體在open source 光碟裡面
2)
cat test.sh
#!/usr/bin/expect
spawn telnet 172.16.12.52
expect "login:"
send "root\r"
expect "Password:"
send "manager1\r"
send "uname -a\r"
send "uname -n\r"
interact
這樣執行test.sh就可以不用敲帳號密碼就可以login 到另一機器執行command 了
3則回覆 3
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 01-19-2005 03:17 PM
在 01-19-2005 03:17 PM
分享我的知識 : expect 的使用及安裝
請問網站中有沒有可以下載expect for Tru64?
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 01-19-2005 04:22 PM
在 01-19-2005 04:22 PM
分享我的知識 : expect 的使用及安裝
you can check following links for download expect package.
http://expect.nist.gov/
http://expect.nist.gov/src/
or
http://rpmfind.net
http://expect.nist.gov/
http://expect.nist.gov/src/
or
http://rpmfind.net
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 01-20-2005 09:41 AM
在 01-20-2005 09:41 AM
分享我的知識 : expect 的使用及安裝
> 請問網站中有沒有可以下載expect for Tru64
See
http://h30097.www3.hp.com/demos/ossc/html/0Welcome.htm
From the readme has included the kit as below:
cygnus_expect tk8.0 tcl8.0 expect5.26 from the Cygnus GNUPro Toolkit Release 99r1
Best regards,
Richard.
See
http://h30097.www3.hp.com/demos/ossc/html/0Welcome.htm
From the readme has included the kit as below:
cygnus_expect tk8.0 tcl8.0 expect5.26 from the Cygnus GNUPro Toolkit Release 99r1
Best regards,
Richard.
以上表述為作者個人觀點,不代表惠普公司,使用本網站,請遵守網站使用規則和條款
© 版权所有 2024 慧与发展有限责任合伙企业