perl -pi -w -e 's/search/replace/g;' *.php -e means execute the following line of code.
-i means edit in-place
-w write warnings
-p loop
editors
Find and replace in multiple files
Vim Line Numbers
To show the line numbers in vim do the following:
set number or set nu or se nu
To hide the line numbers append ! to number:
set number! or set nu! or se nu!
More Details: http://www.vim.org/tips/tip.php?tip_id=19
MeasureIt