Unix shells include Almquist shell (ash),Bourne shell (B shell, sh), C shell (csh), Bourne Again Shell (bash), Debian Almquist shell (dash), Korn shell (ksh), Public domain Korn shell (pdksh), MirBSD Korn shell (mksh), Z shell (zsh) etc. There are several ways to find out what shell we are using. Continue reading
Category Archives: Linux
Block IP Address on CentOS / Redhat
To block / unblock an IP address, you’d update iptables setting (root / sudoer only). Continue reading
Searching and Replacing in vi Editor
In Linux, vi is powerful to search and replace the text. Vi provides the :s (substitute) command for search and replace. Continue reading
Frequently Used GET and POST Commands in curl
Several frequently used GET and POST commands in curl are listed here. Continue reading
How to Change Hostname under CentOS / Redhat
This post describes how to change / modify host name / hostname under Redhat / CentOS. Continue reading
Find Files Containing a Text String (Linux)
There are multiple ways to find files containing a text string. Here is one simple command (grep) to achieve the goal. Continue reading
Upgrade PHP 5.3.3 to PHP 5.4 on CentOS
When you received a CentOS 6.5 system, you might find out that only PHP 5.3.3 is available. Some research shows, PHP 5.3 is a bit faster than 5.4.x and 5.5.x. However, some CMS or Forum systems will require 5.4 and above version to run them. Continue reading