I have a question regarding the "cp" command on linux. Is there a way possible to copy one file and spread it among many directorys. For instance there is a program that I want to copy to many different users. All of their directorys are under one parent directory. I listed the command i use below with an exact statement of what i receive afterwards:
cp p1.test.c /usr/users/student/*
--> cp: omitting directory '/usr/users/student/2ndstudent'
--> cp: omitting directory '/usr/users/student/3rdstudent'
It will omit all the directorys listed under the parent directory except for the very first one. If someone knows a switch or option im missing please help. I appreciate any advice you can give about this