Update WordPress on the command line
Just for my backup, login to the WordPress server, and change to the root of where you have WordPress living, I was lazy and chose the default CENTOS Apache directory. .
cd /var/www/html/
Get the latest and greatest.
wget http://wordpress.org/latest.tar.gz
Unpack
tar xf latest.tar.gz
And start the scary stuff ;-), when moving just say yes and all should be OK. cd wordpress-blog/
rm -rf wp-admin/ wp-includes/
mv ../wordpress/* .
And you’re done.