using mail to send config files

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: Craig White
Date:  
Sujet: 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