Search Results

Search: Posts Made By: alantang
1,993
Posted By alantang
remsh newhost "for loop"
Hi,

In ksh how can I execute something like this:

remsh newhost "for i in 1 2 3 4 5 do echo file$i; cat file$i; done"

I cannot pass the contrl J or enter in th above line which is required...
Showing results 1 to 1 of 1

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