Displaying 1 result from an estimated 1 matches for "532a0f88".
2010 Oct 21
5
how to do repetetive command in shell
Dear all,
i'm writing a certain script which does a specific task in a repetitive manner, i'm going to give a similar script with the same concept hope you could advise me to a better way:
USER1="roland"
USER2="dany"
USER3="kevin"
cp -r /opt/$USER1/test /backup/$USER1
cp -r /opt/$USER2/test /backup/$USER2
such a command would be repeated 832 times (this