> How do i send mail to all users ?
No need to be complicated:
mail -s "To all lusers." `awk -F: '{print $1}' /etc/passwd` < mesg.txt
where the mesg.txt is a text file containing the body of your message. you
still have to contend with sending mail to non-users like bin, sys,
etc. which is a minor inconvinience.
regards,
= ====== Andre M. Varon - Technical Head
= = == Lasaltech, Inc. - http://andre.lasaltech.com
= === =
= = = If I cannot bend Heaven, I shall move Hell.
===== = -- Publius Vergilius Maro (Virgil)
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
- [plug] mail to all users dwen
- Re: [plug] mail to all users Ian C. Sison
- Re: [plug] mail to all users fooler
- Re: [plug] mail to all users Ian C. Sison
- Re: [plug] mail to all users Juan Miguel Cacho
- Re: [plug] mail to all users A. M. Varon
- Re: [plug] mail to all users dwen
- Re: [plug] mail to all users Francis A. Vidal
- Re: [plug] mail to all users A. M. Varon
- Re: [plug] mail to all users dwen
- Re: [plug] mail to all users Francis A. Vidal
- Re: [plug] mail to all users Jun Garin
- Re: [plug] mail to all users A. M. Varon
- Re: [plug] mail to all users dwen
- Re: [plug] mail to all use... fooler
- [plug] free mx record Clemen Canaria
