LowEndBox - Cheap VPS, Hosting and Dedicated Server Deals

Command-Line DNS: Using the Porkbun API in Shell Scripts

Did you know you can control your Porkbun-hosted DNS from a shell script? Here's an example of using the Porkbun API with curl to create a DNS record, and links to more things you can do with their full-featured and oddly satisfying API.

Read More
Command-Line DNS: Using the Porkbun API in Shell Scripts

Put a Glide in Your Stride and a Dip In Your Hip and Use a Mother Script!

In this tutorial, learn how to make your cron-driven shell scripts easier to manage by using a mother script. We'll show you how you'll never have to think about cleaning up temp files again!

Read More
Put a Glide in Your Stride and a Dip In Your Hip and Use a Mother Script!

Here Today, Gone When You Exit: Proper Tempfiles in Shell Scripts

In the course of my career, I've periodically come across code like this in shell scripts: TEMP_FILE=/tmp/tempfile Or sometimes, slightly more elegantly: TEMPFILE=/tmp/tempfile.$$ The problems with th...

Read More
Here Today, Gone When You Exit: Proper Tempfiles in Shell Scripts

Replacing That Big Fat Bash

It's actually a tip from Lincoln, who emailed me last month: Another idea is to replace bash (~4M/instance) with pdksh (~1M/instance). It doesn't sound like much, but if you're like me and you're have...

Read More
Replacing That Big Fat Bash

Latest LowEndTalk Hosting Offers

View More