Re: batch modify user config files

2004-01-22 Thread Jan Minar
On Wed, Jan 21, 2004 at 07:06:22PM -0600, Rick Weinbender wrote: > Is there a way to write a bash script to > append a line of text to each user's > config file in their home directory? You should be very careful as what type of file it is, as this might: (1) not get executed/parsed -- eas

Re: batch modify user config files

2004-01-22 Thread Pigeon
On Wed, Jan 21, 2004 at 07:06:22PM -0600, Rick Weinbender wrote: > In my setup each user has a configuration file > in their home directory. > * > Is there a way to write a bash script to > append a line of text to each user's > config file in their home directory? for x in /home/*; do echo 'This

Re: batch modify user config files

2004-01-22 Thread Ryan Mackay
Sometime near Wed, Jan 21, 2004 at 07:06:22PM -0600, Rick Weinbender wrote: > In my setup each user has a configuration file > in their home directory. > * > Is there a way to write a bash script to > append a line of text to each user's > config file in their home directory? > > Thanks, > -Rick >