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.
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.
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.
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.
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.