This is for VMWare Tools for VMWare ESXi 4.x.
This was a bit of a hassle.. before I figured it out..
here it is it it's simplicity
Read more: Install VMWare Tools on Debian/Linux 6.0 (Squeeze)
I really don't like BASH or SH so I try to find ways not to use it.
This is what I came up to for use instead of [< file > -lt < file2 >] compare
This is to describe how you can find and replace a text in many many files at once. It might take some time .. but it will do the job.
Observe that paths or text with a / in them need the / to be escaped(\) for sed to accept it as a / and not end of statement.