Random Ubuntu 12.04 hangs (freeze), hard reset needed

MY PC – ASUS P67 Sabertooh Lastest BIOS Update (Available on May 5th, 2013) – Intel Core i7 2600K – 16 GB RAM PROBLEM – Random Ubuntu 12.04 hangs (freeze) 32/64 bits (Kernel < 3.5.0-40). - Hard reset needed. - No problems on Windows 7 64-bits. SOLUTIONS There are two options, editing default kernel boot… Continue reading “Random Ubuntu 12.04 hangs (freeze), hard reset needed”

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”

Linux shell script to backup files and databases

Introducción Tape Backup (o bien, tape-backup.sh) es un script con licencia GNU/GPL diseñado para el respaldo completo (full) de directorios y bases de datos PostgreSQL y MySQL, en una unidad de cinta, localmente o en una carpeta compartida en MS Windows (o SAMBA). Última versión disponible en: https://github.com/olafrv/tape-backup Vínculos How to use a tape drive… Continue reading “Linux shell script to backup files and databases”