sness
blog of sness
Friday, July 01, 2011
My SysAd Blog -- Unix: Z Shell for loop -- UNIX zsh
My SysAd Blog -- Unix: Z Shell for loop -- UNIX zsh
: "Now using brace expansion for the Z shell for loop
# zsh
# for i in {1..12}
do
rcp -p /etc/hosts esoftclient$i:/etc
done
# zsh
# for i in {1..100}
do
rcp -p /etc/hosts esoftclient$i:/etc
done"
Newer Post
Older Post
Home