Shell Script to Detect If the IP Address Is Googlebot

1. Introduction Google has explained here on how to verify if the given IP belongs to Googlebot. So instead of hard-coding all the IPs which might change eventually, Google has suggested doing a DNS lookup using host command on Linux. The steps suggested in the article are: reverse DNS lookup using the IP to get … Read more

Shell script for clearing the Trash

I was facing a problem while clearing the Trash in Ubuntu. I wasn’t able to delete certaion folder and i got the message stating “Access Denied”. So i was wondering that there should be some way to do it from the command prompt using sudo and some command. I did a google for the requirement … Read more

%d bloggers like this: