shell之except

在使用shell腳本時候,總會遇到交互性的命令,會提示輸入密碼,用戶名之類的。這時候就須要使用except了。web 例如:shell #!/usr/bin/expect -f set username [lindex $argv 0] set hostname [lindex $argv 1] set upload_name [lindex $argv 2] set d
相關文章
相關標籤/搜索