Archive for January, 2011

Linux: Mutt(How to attach file from command line)

Wednesday, January 5th, 2011

If you want to attach a file in mutt from command line :

 echo "Body of email" | mutt -a attach.txt -s "subject" user@gmail.com

-a : please provide the full path for attachment.

Linux:How to exclude packages from yum update

Tuesday, January 4th, 2011

If you want to exclude packages from yum update then you can type –exclude command as bellow :

 yum update --exclude=openssl,openssl-devel,bind,bind-chroot,bind-utils,bind-libs

Or

 yum update --exclude=openssl --exclude=openssl-devel --exclude=bind --exclude=bind-chroot --exclude=bind-utils --exclude=bind-libs

Or

4 my apache keep crashing

Tuesday, January 4th, 2011

Hi
My apache keep crashing