I want to run all those commands within some better arrangement, what should I do?# bash script of copyall.shscp /local/michael.txt root@example.com:~/scp /local/jason.txt root@example.com:~/scp /local/jerry.txt root@example.com:~/scp /local/wong.txt root@example.com:~/scp /local/lee.txt root@example.com:~/scp /local/mark.txt root@example.com:~/For example it'd be very easy to do via JavaScript. I just need to put the names in an array  or object and for in that array/object. But what about with bash?
how to use bash to run a same command with a group of variables?
bash
You don't need any variables here.scp /local/michael.txt /local/jason.txt /local/jerry.txt \    /local/wong.txt /local/lee.txt /local/mark.txt       \    root@example.com:~/You can also use the brace expansion:scp /local/{michael,jason,jerry,wong,lee,mark}.txt root@example.com:~/