using mail to send config files

Αρχική Σελίδα
Συνημμένα:
Μήνυμα σαν ηλεκτρονικό μήνυμα
+ (text/plain)
Delete this message
Reply to this message
Συντάκτης: Craig White
Ημερομηνία:  
Αντικείμενο: using mail to send config files
On Tue, 2002-11-19 at 15:04, Scott H wrote:
> I want to email a few text config files from a RH
> 7.3 postfix server every night, automatically,
> using cron. I don't see how to use the "mail"
> command to attach files, though. How does one do
> this?
>

----
try this...

mail < /etc/passwd

;-)

Craig