Archivo de la Categoría Linux

To do a multiple file replace of a specified string, just run the following

perl -pi.bak -e ’s/what to change/what to change to/g’ *

This also makes a backup of the files, with extension .bak

If you just want to modify, for example, PHP files, use the same but at the end replace ‘*’ with ‘*.php’

That’s all

Easy way to find inside files on Linux:

grep -r “what youre looking for” *

Yup, that’s it!

This is just a quick note on how to check email router with exim:

exim -bt test@test.com

Where test@test.com is the address you’d like to test.


Parse error: syntax error, unexpected T_LNUMBER in /home/eltecno/public_html/wp-content/themes/mandigo-14/footer.php on line 413