Home     About Us     RSSRSS

Archives: Unix

Troubleshooting DNS issue with Nslookup command

October 18, 2014 by @HKw@! | No Comments | Filed in DNS, Linux, Mac OS X, Unix, Windows

When troubleshooting DNS problem, Nslookup is used to perform DNS queries and to examine the contents of zone files on local and remote servers.

Nslookup is a standard command-line tool which available on Windows, Linux and Mac OS platform. Nslookup offers you the ability to perform query testing of DNS servers and to obtain detailed responses at the command prompt.

To use nslookup in command-line mode, enter the following in the command prompt window:

nslookup DNS_name_or_IP_address server_IP_address

This command will look up a DNS name or address using a server at the IP address you specify.”

Here i going to show few examples on using the nslookup command. (more…)

Faster way to empty Trash in Mac OS X

April 11, 2012 by @HKw@! | No Comments | Filed in Mac OS X, Unix

I realize that emptying the trash in OS X can be a long process, especially If you have lots of items in your trash . Below is the screen shoot the status of empty trash after 30 minutes.

(more…)

Centos 5.6: Find PHP Version using Command Line

May 30, 2011 by @HKw@! | No Comments | Filed in centos, Fedora, Linux, RedHat, Unix

I wanted to install phpmyadmin on Centos 5.6 Machine. I check from phpmyadmin official web site, phpmyadmin requires at least PHP 5.2 and MySQL 5. I have to check my php version 1st before start install.

Here is a useful command to display or show what version of php you have installed in your Linux Machine.

Just enter following command to check your PHP Version

root@raptor(~)
[ 2]# php -v
PHP 5.1.6 (cli) (built: Nov 29 2010 16:47:46)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

Once you enter the php -v command, you should able to see the result like what i show you above, if you don’t get something like the above, then it means that you don’t have php installed in your server.

 

Tags: , ,