Search Results

Search: Posts Made By: ivolvo
2,826
Posted By ivolvo
ssh breaks loop
Here is the smallest extract to demonstrate the problem that I experience.

#!/bin/bash

r=$1

while read ip
do
if [[ $r = "" ]] ;then
x=`ssh $ip echo "$ip"`
else
x=`echo "$ip"`...
Showing results 1 to 1 of 1

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