Merry Xmas & Happy New Year rel.2

Last year I prepared a virtual tree for the dba, so now it’s time to replicate this year for the systems engineers with best wishes for a merry Xmas and happy new year. bash [ecairo@localhost ~]$ cat ./tree.sh #!/bin/bash RED=’\033[0;31m’ GREEN=’\033[0;32m’ YELLOW=’\033[1;33m’ NOCOLOR=’\033[0m’ ROWS=11 COLUMNS=21 blanks() { for ((k=0; k<${1}; k++)) ; do printf ” […]

Read More Merry Xmas & Happy New Year rel.2
dicembre 20, 2018

Tag: 693 Comments

Buon Natale e felice anno nuovo v.2

L’anno passato ho preparato un albero di Natale virtuale per i dba, quindi mi pare giusto replicare quest’anno per i sistemisti. bash [ecairo@localhost ~]$ cat ./tree.sh #!/bin/bash RED=’\033[0;31m’ GREEN=’\033[0;32m’ YELLOW=’\033[1;33m’ NOCOLOR=’\033[0m’ ROWS=11 COLUMNS=21 blanks() { for ((k=0; k<${1}; k++)) ; do printf ” ” done } printf “\n”; blanks $(((COLUMNS-1)/2)); printf “${YELLOW}X\v\b|\n” for (( i=1; […]

Read More Buon Natale e felice anno nuovo v.2
dicembre 20, 2018

878 Comments