NAIL:
- mutt is easier:
cat file.txt | mutt -a file.tar -s "subject" help@ros.co.il
program for sending attachments from prompt: needs gcc
download nail ver 9.0 from:
http://omnibus.ruf.uni-freiburg.de/~gritter
ubpack it than: ./configure, make, make install.
to send mail use:
nail -a date.zip ronen or:
echo "text body" | nail -s "my A zip" -a date.zip
ronen3@excite.com
to send uotput of a command by mail use pipe: ps -ef|
mail root
-echoing with colors:
backgrounds:40 black,41 red,42 green,43 orange,44 blue,
45 purple ,46 light blue
forgrounds: 30 black, 31 red, 32 green, 34 blue, 35 purple
1 bold,2 light color,(4 underscore),5 flashing,7 upside video,
(25 off flashing,27 off upside video)
|