Jump to Navigation

bash

Bash Date Time Calculations How To

Although bash is a powerful scripting environment it is a bit deficient, compare to other scripting languages, when it comes to date/time calculations. There are no convenient, generally available, date functions such as datediff or overloaded operators for mathematically manipulating dates and time.

Open Source: 

Script to get AnyMeal Recipes quickly

Well over the festive season I have been in Durban visiting family, relaxing and recharging for 2009. For those readers not in South Africa, Durban is situated on the east cost and has a warm, humid sub-tropical climate. Unfortunately the weather has been overcast most of trhe time. Can you say "global warming"?

Open Source: 

Simple mysql backup script.

Here is a simple backup script that we use to backup MySQL servers where there are a large number of databases. Each database is dumped out to separate file making restoration for individual databases much easier. Usually scripts dump all databases out into one large file. This is problematic if there are many databases and some of them are large. Simple copy the script into /etc/cron.daily to have it executed each day.

Open Source: 
Subscribe to RSS - bash


by Dr. Radut.