Unix / Linux: cat .GZ Compressed Text File On Screen

T o save the disk space on my Linux based nas (network storage server), I have compressed thousands of reports[0-1000].txt files using gunzip program. However, I need to cat .gz file (or open in vim…

CentOS / RHEL: Install iftop To Display Bandwidth Usage Per interface By Host

I am running Red Hat Enterprise Linux on IBM based system. How do I display bandwidth usage on an interface by host in real time using command line option? How do I monitor bandwidth usage…

WordPress MySql Statement To Delete All Pending Comments

I have over 1800+ pending comments and most of them are spams in WordPress based blog. How do I delete all (mass delete) the pending comments using sql statements?   You can delete all pending…

HowTo: Create a Self-Signed SSL Certificate on Nginx For CentOS / RHEL

I operate a small web site on Cloud server powered by CentOS Linux v6.4. I would like to encrypt my site’s information and create a more secure connection. How do I create a self-signed SSL…

Nginx: 301 Redirect To A Domain Name

I am a new Nginx web server user. How do I redirect to a different domain using nginx (say example.org to example.com) permanently?   You need to use HttpRewriteModule module to change URI using regular…

HowTo: Unpack .tgz File On a Linux

I am a new Linux user. I am having problem with the Terminal. How do I unpack .tgz (tar.gz) file on a Linux using command line option?   Most Linux and open source software files…

Nginx: 301 Redirect To A Domain Name

I am a new Nginx web server user. How do I redirect to a different domain using nginx (say example.org to example.com) permanently?   You need to use HttpRewriteModule module to change URI using regular…

HowTo: Unpack .tgz File On a Linux

I am a new Linux user. I am having problem with the Terminal. How do I unpack .tgz (tar.gz) file on a Linux using command line option?   Most Linux and open source software files…

OpenBSD: Reload / Restart / Stop dhcpd Server Command

I manage MS-Windows server and recently started to play with OpenBSD server. How do I reload or restart the dhcpd server on OpenBSD using shell command line option?   If you made changes to the…

RHEL / CentOS 6.x KVM Virtualization Installation and Configuration Guide

H ow do I setup and manage a virtualized environment with Kernel based Virtual Machine (KVM) in CentOS or Red Hat Enterpise Linux version 6 server on IBM server? Can you provide step-by-step commands of…