Thread: Scripting
View Single Post

   
  #3 (permalink)  
Old 04-24-2008, 04:37 PM
Mark Taylor
 
Posts: n/a
Default Re: Scripting

>> man dsh
dsh is part of csm (or pssp if you still run it) and not everyone has
csm right ?

>> The problem seems to be that script does not work !!! :-)


Depends what your error is ..

>> Any ideas around using cat wiht the while loop in a better way ?


for host in $(cat server-list)
do
rsh ${host} "awk '{print $1}' /home/basks.tbl" >> test.out
done

Any good to you ?

Rgds
Mark Taylor



Reply With Quote