Can’t live without utility: linux sed and awk

Linux is less user friendly (or at least has a steeper learning curve) but for website administration and server maintenance, its the holy grail. Here are two small utilities that a webmaster or web admin can’t live without. sed: used for search and replace on multiple files awk: used for data extraction and manipulation on structured text […]

MySQL commands useful for data transfer

mysql yourdatabase –user=youruser –password=yourpassword –default_character_set=utf8 < yourdata.sql mysqldump db1 –user=yourusername –password=yourpassword | mysql db2 –user=yourusername –password=yourpassword2

WordPress file permissions in Plesk

According to: http://codex.wordpress.org/Changing_File_Permissions [pullquote]All files should be owned by your user account on your web server, and should be writable by your username. Any file that needs write access from WordPress should be group-owned by the user account used by the webserver.[/pullquote] Related information: http://codex.wordpress.org/Updating_WordPress#Automatic_Update On plesk, “your user account” is set in the admin interface […]