Hi,
I wan tto use 2 variables at same time in single loop. Like
for i in vs01a vs01b for k in 1 2
do
rsh $i echo 'tail -20 /opt/oracle/admin/+ASM/bdump/alert_+ASM$k.log' >> VS_logs.txt
how to do it. because for vso1a it's ASM1.log whereas for vs01b it's ASM2.log.
help me!!