How to capitalize letters on bash shell script

It’s easy just use the tr command to lower, upper or capital case. Here is an example… ?View Code BASH1 2 3 4 5 6 7 8 9 function toCapital { for x in $* do echo -n ${x:0:1} | tr ‘[a-z]’ ‘[A-Z]’ | xargs echo -n echo -n ${x:1} | tr ‘[A-Z]’ ‘[a-z]’ |… Continue reading “How to capitalize letters on bash shell script”

ASSP & AVG Antivirus Integration Script

The following script uses the configuration section “ClamAV and FileScan” from ASSP (http://assp.sourceforge.net/) where it is configurated an external script for virus scanning, in this case AVG (http://www.avg.com). Note that you must download its free version (free.avg.com) or purchase and install it for Linux!!!. Before enter configuration parameters you must install the downloaded AVG for… Continue reading “ASSP & AVG Antivirus Integration Script”