HowTo

Summation of grep -c

The unix shell grep command have an option called "-c" which will give you the count of matching lines per file. Sometimes it's desirable to have a summation of all these count, for which i could not find an option. I wrote a one line command that perhaps

ssh to remote machine for the first time throws error

TIP : Today i tried to ssh to my vps using the following, from my Ubuntu machine. avr@avr-Latitude-E5500:~$ ssh root@xx.xx.xx.xxx and the following error showed up. y@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!Someone could be eavesdropping

Error setting up jekyll in ubuntu

Today i was trying to setup jekyll in ubuntu. Installation as such as is not bad. install rubygems, ruby-dev, after that  gem install jekyll (which was originally stated by the blog). Then run the command,  jekyll new myblog, the following error is reported > $ jekyll new myblog/var/lib/gems/

verpatch fails with error code 193,

Some Introduction : Today we were debugging a third party tool called verpatch that we use for updating resource information in a installer executable created by Install Shield 2010. As you might have known, that InstallShield 2010 doesn't allow you to update the resource information of the installer you are creating.