Determine if TCP port is open

nc -zw2 http://www.example.com 80 && echo open

A crucial part of an Administrators toolbox is access to a 24x7x365 available shell.
Whether it’s Cygwin a virtual machine or bare metal we need to shell out and execute commands.

Another trick of the trade I want to share with the community is an outstanding resource that is better than man pages. Please take a look at http://www.commandlinefu.com the level of awesome this site has to offer is beyond expression, If you need a quick resource, a syntax example or guiding in the right direction to execute a function, this is the site to be on. The site supports OpenID and also has a twitter feed.

Advertisements

About noneil
Rapper turned Rockstar!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: