Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #54.9K
Hi, I wan tto use 2 variables at same time in single loop. Like [I]for i in vs01a vs01b for k in 1 2 do rsh [COLOR=Red]$i[/COLOR] echo 'tail -20 /opt/oracle/admin/+ASM/bdump/alert_+ASM[COLOR=Red]$k[/COLOR].log' >> VS_logs.txt[/I] how to do it. because for vso1a it's ASM1.log whereas for vs01b it's ASM2.log. help me!! |