I was hoping someone had or could tell me how to make a script that would at
its simplest core allow me to copy a file from one account (like root for
example) to all the other /home/users acounts?
Basically, if I see a neet little trick or whatever (like this .logout) file
now, and want to implement it, I don't want to have to go in by hand to all
the users accounts and copy it in there.
I tried "cp -v /root/.logout /home/*" but that didn't work?
either did "cp -v /root/.logout /home/*/"
besides, I need to "chmod 644 .logout" anyways, so even if it did work, the
second part wouldn't. Is there a way to do this via like $HOME or something
and can the filename be a variable.
Daevid.
<http://TheMatrix.com/><http://www.servtech.com/public/dae51d/>