Converting Timezones on the Command Line
Convert from a foreign zone to the local zone This functionality is built-in in the date command. If the local timezone is CET and you have an appointment with someone in England (GMT): $ date -d '2020-01-16 14:00 GMT' Thu 16 Jan 2020 03:00:00 PM CET Convert from the local timezone to a foreign one If the local timezone is CET and you want to convert to EST, use a environment variable to set the foreign timezone as local for the time the command runs and apply the same trick as above:..
Shared Environment Variables for Make, Bash and Docker
It is possible to define a set of variables and share them in Make, Bash and the Docker containers that are orchestrated by docker-compose. Docker-compose can use an .env file to substitute variables in a docker-compose...
Job Control in Bash Scripts
One should be careful when considering an option like this. Sending processes to the background in a script, are you sure this is what you want? However, sometimes ducktape is the only thing that works...