man apt-get
man mail
Also, the | takes the output of the stuff before it and sends it to what's after the | as STDIN.
Elliott Wilcoxon
Aaron wrote:
Before I do this What does it do???
Thanks Aaron On Mon, 2003-11-17 at 00:26, Clif Smith wrote:
For apt: /usr/bin/apt-get dist-upgrade | /bin/mail -s "apt-get dist-upgrade on `hostname`" $EMAIL_ADDRESS - replace $EMAIL_ADDRESS with your email address
For yum: /usr/bin/yum upgrade | /bin/mail -s "yum upgrade on `hostname`" $EMAIL_ADDRESS - replace $EMAIL_ADDRESS with your email address
cjs
On Sun, 2003-11-16 at 12:13, Aaron wrote:
Hi all Is there way I can keep my apt, or yum or up2date sources current automatically?? Or if a way doesn't exist could a way be devised???
I seem to be unable to use any method to install programs. I assume it is because the sources have changed???
Thanks Aaron
-- fedora-list mailing list fedora-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-list
-- fedora-list mailing list fedora-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-list
-- fedora-list mailing list fedora-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-list
.