Linux GET command returning a web page by default

26 May,2011 by Jack Vamvas

I  typed the Linux Command GET DBM CFG into my Putty console – rather than db2 GET DBM CFG   and  web page code was returned . That’s interesting!

 The GET program is used to send requests to www servers. There are various switches , such as :

-b This URI will be used as the base URI for resolving all relative  URIs given as argument.

The interesting discovery is that  by issuing a command such as : # GET DB2   , it will default by requesting the default page of  db2.org  , or if requesting    # GET SQL   , it will default to sql.org

Linux get command 

The same web page through a browser

Linux get db2 org 

 

 Source:Jack Vamvas(http://www.dba-db2.com)
Author: Jack Vamvas(http://www.dba-db2.com)

Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on Linux GET command returning a web page by default

Comments are moderated, and will not appear until the author has approved them.


dba-db2.com | DB2 Performance Tuning | DBA DB2:Everything | FAQ | Contact | Copyright