> > Is there an easy way to just send to all users in a linux group,
> > instead of having to use an alias file....?

You mean group, as in, a line in /etc/group, right?

Lets say I have a message in a file called syl2000fall.txt and
I want to send it to everyone in the group called chem507.

I think this would do it:

mail `grep ^chem507 /etc/group | cut -f4 -d:` < syl2000fall.txt

Some light tweaking may be required, but mail will accept
comma-delimited recipients, YMMV.

                          David Nicol 816.235.1187 [EMAIL PROTECTED]
Originator of the world's first combination bassinet and table saw

Reply via email to