Archive for October, 2009

vimdiff – the cool way to diff for vim users

Some of you using the vim editor may not know about a tool that comes with vim called vimdiff. Vimdiff is an awesome way to diff files if you are a vim nut. It gives you the power of vim + the power of diff. How’s this different from opening 2 files in vim (with [...]

User agent GTB or GTB5 is the Google Toolbar

Was checking out this blog’s visitor stats recently when I came across this User Agent “Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 GTB5″.  I was wondering what GTB5 was. Some googling and testing later I found out that GTB is in fact the Google Toolbar. To compare, here’s the UA of a Firefox [...]

Copy files preserving the permissions

You might have come across a situation where your regular usage of the cp command for copying files in your linux box was not enough because while copying you needed to preserve the permissions of the files. Fret not, for help is at hand. Take a look at the man page for cp : -p     [...]