Search Results

Search: Posts Made By: skorada
6,839
Posted By skorada
Thanks Chubler_XL printf "%s\n"...
Thanks Chubler_XL


printf "%s\n" 10.10.10.10 10.10.10.10 | ssh user@100.10.100.100 "source .profile && add_ip"


The one suggested by you was perfect.:)

Also I later figured what the issue...
6,839
Posted By skorada
Multiple expect/send statements not working in shell script
Hi I am trying the following in my bash script which logs into my machine and runs a command. Trying to solve this using expect.

The first expect statement is hit and it enters the address...
Showing results 1 to 2 of 2

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