[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: how to automatically put files on all /home/user directories



On Mon, 2002-09-02 at 19:53, smoke wrote:
> thanks,
> 
> i can use that too! but i have another 500+ existing
> users, and it may take a bit of time to use "touch"
> for every /home/user directory... is there a way to do
> that? thank you! :)
> 
Something like:

for user in $(ls /home); do touch /home/$user/newfilename; done

Should work

Bret





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]