I am a new CentOS Linux user. How do I install GNU mc (Midnight Commander) on Red Hat Enterprise Linux or CentOS Linux server version 5.x/6.x using bash command line?
GNU Midnight Commander (also known as mc) is a free and visual file manager, licensed under GNU General Public License. It is a clone of Norton Commander. It...
Monday, December 30, 2013
Friday, December 20, 2013
Linux: Keep An Eye On Your System With Glances Monitor
Is there is a tool that can provide me a maximum of information (such as cpu, disk I/O, network, nfsd, memory and more) about my Linux/Unix server in a minimum of space in a terminal?There are plenty of monitoring tools on Linux or Unix-like systems that can provide information about your serve...
Wednesday, December 11, 2013
What Does –– (double dash) Mean In SSH Shell Command?
see lots of seasoned admins and cloud provider wrapper scripts use ssh client command as follows in shell:
ssh nixcraft@server1.cyberciti.biz --
What the double -- (dash) does here? Why it is used in this shell command and why not just use the followin...
Tuesday, December 10, 2013
HowTo: Reinstall MySQL v5.x On Linux
My MySQL database installation has been corrupted. I would like to delete old mysql server. How do I reinstall MySQL database server version 5.x on Linux or Unix-like oses? A software upgrade broke my system. How can I uninstall and re-install mysql again to get fresh full mysql again...
Mac OS X: Install wget Network Downloader Utility
recently learned that "wget" can continue getting a partially-downloaded (resume download) file. I am unable to find wget command on Mac OS X. How do I install install wget on Mac OS X (Mountain Lion/ Mavericks / Snow Leopard)? How can I install wget in Mac OS X without 3rd-party repo such as Homebrew or MacPorts?
You...
Sunday, December 1, 2013
HowTo: Enable Nginx Status Page
Apache has status page that can provide data about Apache. How do I enable and display such page using nginx server? How do I enable nginx status page on Linux or Unix-like operating systems?
Like Aapache (httpd), nginx has status page to give you information about Nginx's server health including Active connections and other...
Python sleep(): Add Delay In A Seconds To Suspend Execution Of A Script
am a new Python user. I would like to delay execution for five seconds in a Python script. How do I add a time delay in Python on Unix/Linux? Is there a sleep command in python like the Unix/Linux sleep utility to suspend execution of a bash script?
You need to import and use a module called time. This module...
CentOS / RHEL: See Detailed History Of yum Commands
would like to see detailed information on the history of yum transactions such as updates, deleted packages, and other information. How do I see history of yum commands on CentOS / RHEL 6.x based server? How do I undo or redo or rollback packages using yum command?
The yum command has history option...
CentOS / RHEL: Install php-tidy Module
am a new CentOS / RHEL / Red Hat / Fedora Linux server user. I need to provide tidy library support using php. How do I install php-tidy on RHEL or CentOS Linux for Apache server?
You need to install the following module using the yum command on RHEL/CentOS/Fedora/Scientific Linux server:
php-tidy - The php-tidy package...