<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Dear all,<br><br>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:<br><br><br>USER1="roland"<br>USER2="dany"<br>USER3="kevin"<br><br><br>cp -r /opt/$USER1/test /backup/$USER1<br>cp -r /opt/$USER2/test /backup/$USER2<br><br><br>such a command would be repeated 832 times (this is just an example) <br>so instead of copying the above line 832 times and appending that user's number in each "$USER"<br><br>is there a way to do it in a  smarter way ?<br><br><br>thanks,<br><br>--Rolad<br><br>                                    </body>
</html>