How to protects Linux and Unix machines from accidental shutdowns/reboots with molly-guard

Posted on in Categories Command Line Hacks, Debian Linux, Hardware last updated February 19, 2017

Oops! I did it again. I thought I was logged into my home server. Turns out I rebooted the db server. Another my not so favorite is typing “shutdown -h 0” into the wrong terminal. I know a few people who have admitted to doing that here.

My anger that can't be contained
Is there any end to the madness? Do I need to suffer from accidentally random reboots and shutdowns? After all, it is human nature to make mistakes, but one should not keep on making the same mistakes again and again.

Linux and Unix nload App: Monitor Network Traffic and Bandwidth Usage In Real Time

Posted on in Categories Command Line Hacks, Debian Linux, Networking last updated April 17, 2014

If you want to monitor network throughput on the command line interface, use nload application. It is a console application which monitors network traffic and bandwidth usage in real time. It visualizes the in and outgoing traffic using two graphs and provides additional info like total amount of transferred data and min/max network usage.

Download of The Day: Debian Linux 7 ( Wheezy )

Posted on in Categories Debian Linux, Linux News, Open Source last updated April 25, 2015

Debian GNU/Linux version 7.0 Wheezy has been released ( jump to download ) after many months of constant development and available for download in various media format. Debian 7.0 is a free operating system includes various new features such as multiarch support, several specific tools to deploy private clouds, an improved installer, and a complete set of multimedia codecs and front-ends which remove the need for third-party repositories.

Apache / Nginx: Visualize Web Server Access Log In Real Time

Posted on in Categories Debian Linux, Open Source, Web Developer last updated May 5, 2013

Logstalgia (also known as ApachePong) is a very powerful and handy app. It is a website access log visualization tool. It is an extremely useful tool to give you look at your web server traffic. I often use this kind of software to justify and convince my clients and/or boss that we need more servers to handle traffic. It streams Apache / Lighttpd / Nginx web-server access logs as a pong-like battle between the web server and a never ending torrent of requests.

Linux ifdata Command: See Network Interface Info Without Parsing ifconfig Output

Posted on in Categories Command Line Hacks, Debian Linux last updated December 12, 2012

Reading an IP address in a shell script requires many time and various Linux distributions stores IP address in different text files. So most of us end up writing shell pipes/scripts to get the information using ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}' syntax. There is an alternative to ifconfig+shell pipe hack – ifdata command. It is a little know tool that can be used to check for the existence of a network interface and find out info about your interface such as IP, netmask, MTU and much more. No need to write shell pipes and fetch information via ifconfig or ip command. This command is designed to be easily used by a shell script.

Debian Squeeze: Install Emerald Windows Decorator And Theme Manager

Posted on in Categories Debian Linux last updated July 20, 2012

The Emerald Window Decorator is a custom window decorator shipped with Compiz Fusion that allows for theming and full composite window decorations with the use of engines. Emerald allows for all sorts of different configurations and layouts of buttons, look, title bars and frames. Emerald Window Decorator is completely independent of any desktop, and you specify your own themes to use for it. In this post I will describe how to install emerald under Debian Linux 6 amd64.