![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calling expect scripts from other expect scripts | seva | Shell Programming and Scripting | 0 | 04-03-2008 10:45 AM |
| Command line automation with Expect-lite | iBot | UNIX and Linux RSS News | 0 | 03-10-2008 09:30 AM |
| Tcl expect HELP | dave_m | Shell Programming and Scripting | 0 | 02-27-2008 08:08 AM |
| Use Send command of Expect package | neha123 | Shell Programming and Scripting | 6 | 12-23-2007 11:39 AM |
| Expect and auto expect command | arun_v | Shell Programming and Scripting | 0 | 03-29-2006 04:31 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
I am doing a project which asks me to enter password 4 times in a row. I need to enter the same password 4 times. My target is to enter password once and apply it 4 times. My friend told me to use "expect" command. Can you please give me a sample code to do so. sample command :- $ ssh <user name>@<ip address>(like :ssh root@127.0.0.1) enter <user name>'s password: |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Take a look here. Expect FAQ (Frequently Asked Questions)
|
|||
| Google The UNIX and Linux Forums |