using mail to send config files

Góra strony
Załączniki:
Wiadomość jako email
+ (text/plain)
Delete this message
Reply to this message
Autor: Craig White
Data:  
Temat: 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