Search Results

Search: Posts Made By: nolamiami
7,035
Posted By nolamiami
See this post for solution: ...
See this post for solution:

https://www.unix.com/shell-programming-scripting/115260-scriping-expect-send.html
9,868
Posted By nolamiami
autoexpect
Thanks Peterro!

Autoexpect worked like a charm!

$autoexpect -p ./app1-adduser

(note: I used -p flag b/c some text from app1-useradd broke the script when it read directly from interactive...
9,868
Posted By nolamiami
scriping expect/send
Trying to script an application's interactive add-user function with expect/send.

So far no information is sent, but the add-user function is called.

Any help appreciated! Many Thanks

...
3,312
Posted By nolamiami
Thanks Peterro Thanks Scottn - I didn't even...
Thanks Peterro

Thanks Scottn - I didn't even know that key existed. That solved it for me.
3,312
Posted By nolamiami
CWD='pwd' I tried that, but it comes out as:...
CWD='pwd'

I tried that, but it comes out as:

rpm -i /pwd/test-app-1/i386.rpm

it reads as text and not as a command
3,312
Posted By nolamiami
setting directory variable?
I have the following script and would like to know how to set the variable correctly.

FTP downloads the .rpm to the current directory, so the RPM command needs to know the directory it is in.
...
7,035
Posted By nolamiami
shell script for nessus-adduser
I took a stab at writing a script to automate the interactive process of adding users to Nessus - I have zero previous coding experience. So far, it doesn't get me anywhere.

I took small sections...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 04:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy