Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Send mail to all users

Status
Not open for further replies.

gk4u

Programmer
Jul 2, 2002
21
IN
Hi All,
I am using RH5.0 i want to mail same matter to all the user how can i do this in single hit.

Help

Regards
GK
 
I don't know what tools you have available to you.

Does: awk -F":" ' {print $1} ' /etc/passwd
work for you? If so just store this info
in a variable, and iterate through the list
sending your messages | mail.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top