search for: autoexpect

Displaying 6 results from an estimated 6 matches for "autoexpect".

2010 May 31
1
autoexpect?
Dear All I have received a new centos server that does contain 'expect' but it does not contain 'autoexpect' . Is there any way to add 'autoexect' to it? Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100531/868ab074/attachment-0001.html>
2010 Apr 01
7
Sending mail from CLI to another SMTP host
Hi all, Is it possible to send mail from CLI (bash, python) without any LOCAL SMTP installed, using SMTP on another machine. Care to give a glimpse of the code? Thank you.
2004 Jan 14
2
rsync backup
Hi, I want to mirror a samba server (smb0) to a identical server (smb1) in my internal network. So far I can managed to do this from client (smb1), rsync -e ssh -auzpg 10.10.10.24:/home/MYDOMAIN /home rsync -e ssh -auzpg 10.10.10.24:/srv/ /srv I would like to automate this task without entering root password. But I'm little confused. Should I setup rsyncd.conf from the server and
2010 May 11
2
Text file manipulation in CentOS?
Dear All >From my previous posts , I learned from you to make use of 'sort' , 'grep' , and 'grep -v' to manipulate text files . At now, I have generated a large text file from my autoexpect script. To be more specific, I need to find how many distinct records are there in say column#1? How can I filter out the distinct records with number of occurances less than a pre-determined threshold?Can you please show my the power of CentOS in manipulating text files? Thank you -------------- n...
2008 Nov 11
4
Can expect do this?
Hi all, I'm trying to scp some files from machine1 to machine2. But, I'm in an environment where PubKeyAuthentication is not allowed in ssh :( So, I'm confused how to automate it as cronjob. However, I read somewhere that we can write a little bash script that will utilize 'expect' to answer for the ssh password prompt? Can we do this? Any examples are great help. Thank you.
1997 Sep 28
0
[IPD] Internet Probe Droid
...e designed to be embedded in applications. Expect''s main use is for controlling and automating the use of interactive programs like ftp, telnet and so forth. An understanding of how the language is structured and four or five keywords will let you write useful programs. Using the ''autoexpect'' command will let you capture an entire interactive session, speeding development many times over (see the man page). But Expect can do so much more. If you wanted a program that would log you into an ftp server, it might look like this: #!/usr/local/bin/expect -- spawn ftp ftp.somehost.c...