Search Results

Search: Posts Made By: Corona688
7,799
Posted By Corona688
To get values back you'll have to print them and...
To get values back you'll have to print them and retrieve them in $( ) brackets.

VALUE=$(ssh username@host -s var1 var2 <<EOF
...
echo $VALUE
EOF
)

echo "Remote host sent VALUE=$VALUE"
Showing results 1 to 1 of 1

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