Showing posts from July, 2014

How to take Screenshot in OS X (Mac)

There are different methods for taking a screenshot in windows and Linux OS. But macintosh machines with  OS X has an inbuilt mechanism where in one can take a screenshot. Depending on the keyboard used, the keystrokes may vary. Screenshot of entire screen If you are using Apple Keyboard the combination is Command+Shift+3 keys together pressed and released. Once the keys are released, the screenshot will be stored in the desktop itself. If you are using Conventional Keyboard for Macs (Ex: For Mac mini, etc), the key combination is Window  Key+Shift+3  (See the screenshot below) Screenshot in Mac (OS X) Screenshot of a particular Area To take the screenshot of a particular area, then you can use Command+shift+4 keys pressed and released. Once released, you will get a + symbol with x and y location. Simply drag the area you want to take a screenshot and release it. Thats it!!!. See the screenshot taken using this method. screenshot in mac using Command+shift+4 Screenshot in mac before t

How to open Ports in CentOS

CentOS is the most preferred alternative OS for RHEL. Those who cannot afford to purchase the support license of RHEL, they can use CentOS that comes with almost similar to RHEL. This post tells you about the usage of CentOS when web servers are installed and accessed from remote machines. CentOS is a Server based OS and most of the ports are closed by default and you need to open it for access from outside (remote). For ex. if wordpress is installed in CentOS with a hostname   which is very well accessed within the server. When the same is tried from outside like (, then it will not get accessed. The problem is the closure of ports in CentOS. So you need to open it and save it to iptables, here are the commands that will help you to do that. CentOS Port number : 80 is used here $prompt] ifconfig (find out which interface uses the assigned ip, eth1, eth0, etc) $prompt] iptables --line -vnL (See which line the input has to be ac