Thursday, March 15, 2012

CVS important commands

cvs add < filename >
cvs commit -m "my comment < filename >
cvs update < filename >

cvs -j < what version you want cvs to think it has > -j<what version you want cvs to go to > < filename >

Tuesday, March 13, 2012

linux commandline mail from shell as attachement

There are few ways to do this. Here are some :

(cat mailtext; uuencode surfing.jpeg surfing.jpeg) | mail sylvia@home.com
uuencode $ATTFILE $ATTFILE | mail -s "$SUBJECT" $MAILTO
echo "hi" | mutt -a $ATTFILE -s "$SUBJECT" $MAILTO