![]() Autoexpect will create a script that reproduces # your interactions. Otherwise # autoexpect will start a shell. Vim autoexpect.exp shell #!/usr/bin/expect - # Name: autoexpect - generate an Expect script from watching a session # Description: # Given a program name, autoexpect will run that program. Set pwd 123 pwd set from_path 120.76.xx.xx Scp傳輸例子 web #!/usr/bin/expect set user root Ssh自動登陸 java #!/usr/bin/expect set user root
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |