czwartek, 23 lutego 2012

Edit file on remote server with vim

As simple as that
vim scp://username@host/files/config.php

środa, 22 lutego 2012

[Mysql] Execute query in shell on remote host

Ok quick post.
Ever wondered how to execure query in mysql on remote host ?
mysql -u USER_NAME -p -h HOST_ADRES users -e 
"select name,surname from employees where id_employee=1"

linux 25 php security best practices

Ok, back again
First of all , I've seen that there have been some visitors from other countries so, now I'm gonna write my post in english (also to improve my forgotten language skills:) )
So I want to share some interesting article that I've found today :
http://upshell.wordpress.com/2012/02/21/linux-25-php-security-best-practices-for-sys-admins/
Write some comments soon ;)