I'm trying to write an expect script to pull files from a remote server onto a local folder, and delete them from the remote as they're pulled in. The ...
I'm trying to write an expect script to pull files from a remote server onto a local folder, and delete them from the remote as they're pulled in. The ...
I have to run multiple chunks of expect script inside the shell script. In between each expect scripts, I have to run shell code. Below is conceptual ...
I am trying to copy all files but using expect command I have the following script with expect.dat file I have the following error, what am I doing ...
for some time I am struggling to get the exit code of a script which I am running from within expect. It is a BASH script and the questionable part lo ...
small script that should return line values but does not the output im trying o save looks li this from normal gatt to address tried pipe'n outp ...
i need to be able to have " " quotations around th value being sent or else bluetoothctl write will not accept the value it works in terminal as w ...
I using expect to automate the installation of a software. This is my simplified expect code that I have in my script, but the same problem also happe ...
I use: but this doesn't always detect some prompts such as: Is it possible to make a regexp detect all and any prompts? Thanks very much in adv ...
My expect script: is throwing this error and exits right away. whenever the ssh login attempt encounters some problem on a host like: I tried ...
I've been struggling with getting the output from a remote server to a local variable or a local file. My attempt: #!/bin/bash my_pass=!!psw!! serv ...
I'm having issues with trying to use expect().to.throw() For the code In the same file, I've had no issues with I tried changing the implemen ...
I'm a newcomer to Typescript and am struggling to see why I get this error: At the top of the file I import expect from Playwright: import {expect} ...
I try to automate some tasks with an exepect file, but when I try to send cat and display my file nothing happens, the file exists, I can display it w ...
I'm trying to use expect to execute some certain commands in remote server like this ssh_cmd.sh #!/usr/bin/expect -f set host [lindex $argv 0] ...
My purpose is control transferring files between two remote machines. If I could use key-pair it would be much easier but I can't choose the options b ...
I wrote an expect script like this: After I entered the sql client, I can't send the SIGTSTP signal by ctrl + z to make the current process suspend ...
Say I have following program: Compilation is simple: I am then using expect to automate process: one program sends output to antother. Run it ...
I have a file called profiles.txt and each line contains a number i.e 11 24 35 46 Using the below script I read the file and store each line as a va ...
I am using expect via telnet to connect the box and then using expect script as follows: expect -c 'spawn -noecho telnet IP' exp_script On the expec ...
I try to login ssh using expect. It works, but some outputs are not expected and I do not know why. This is my shell script: This is the output in ...