Tag Archive: script

Nov 04

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 »

Aug 03

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 »

Feb 22

QEMU script for virtual machine creation and emulation

[Download qemu.sh here] ?View Code BASH1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 …

Continue reading »

Older posts «