21 March, 201421 March, 2014bash Using date and time in Bash scripts Date and time is useful. You might want your script to check if it is Monday today, or if the script ran […]
5 March, 201431 August, 2015bash, Database, Linux, Postgresql Postgresql 9.1 BACKUP DUMP BASH script We wrote an improved postgresql dump bash script for Postgresql version 9.1. This one will save each dump file with the name: […]
14 February, 201411 December, 2017bash, Linux, Mysql Mysql SQL in bash one-liner If you just need a quick way to get some data from a mysql database in your shell (bash), you could do […]
7 February, 201414 February, 2014bash, Linux Check http headers with wget If you want to see the http headers from your shell, you can do it with: wget –no-check-certificate –server-response –spider https://yourwebsite.something […]
31 October, 201314 February, 2014bash, Mysql, Wordpress Finding spam users We had a lot of spam users in our multisite wordpress system. This was because we had self-registration enabled for a period. […]
26 May, 201327 May, 2013bash, Wordpress WordPress Brute Force attack spring 2013 For those who are running a WordPress site today at May 2013, you should know about this on-going BruteForce attack against many […]
1 March, 20131 March, 2013bash patching two files I had two files that both contained lines that I needed. The final result I wanted was a file called LocalSettings.php that […]