Check if your system is vulnerable to Bash Code Injection (CVE-2014-6271)

As per CVE-2014-6271, a flaw in bash that permits malicious shell code injection was found.
Read more →

Serving Disk Usage Graphs with Bash and PHP

Lately I was asked to develop and integrate a realtime server disk usage graph to the dashboard of our monitoring application (OpenNMS). The bar graph color should also change when disk usage exceeds a defined  percentage threshold.
Read more →

Show active network interface and current IP address at TTY console login prompt

I have several virtual linux guests running on VirtualBox: a bunch of test machines to which I connect exclusively via ssh from my host terminal.
Read more →

Quick History makeup

One of the first thing I do after installing Linux on a server is setting up the bash history to show the timestamp along with the command issued.
Read more →

Bash shell prompt with full path and colors

Today I’d like to put into my notes the config I use in order to customize the bash shell prompt. This is with no doubt an extra, probably you’ll never need this.. until the day you realize that working on several remote systems at the same time can be confusing, and confusion leads to mistakes.
Read more →