How to Run a Cron Job Only If a TCP Port Is Open Sometimes you want your cron job to run only if a specific TCP service is available — for example, a database, API endpoint, or SSH…
Run a Cron Job Only If Network Is Up Sometimes you want a scheduled task to run only when you’re online — for example, syncing backups, pulling data from an API, or uploading…
Learn Go by creating a tool — Part 1 In this series of articles we will learn how to create a tool in Go, by following this tutorial will not learn you Go from zero, nor will…
Handling Cross-Platform sed Compatibility in Shell Scripts When writing shell scripts that need to run across different operating systems, it’s important to consider platform-specific differences…
How to extract an ini section using sed and export them as environment variables Assume that you have an ini configuration file and you need to export various sections as environment variables to be used from your…
Which Tool Would Death Use to Track the Departed? Excel, SQL, or NoSQL? If Death decided to maintain records for every soul ever taken, which tool would be the most suitable? While this might sound macabre, it…
Visual Studio Code: How to inherit Shell environment variables Try the following, open a shell in your computer and enter:
How to Dynamically Adjust Process Limit Quotas in Linux Imagine that you have an Apache web server that acts as a proxy, for years everything worked well and smoothly.. but out of the blue you…
Summarize File Sizes by Directory and File Name Pattern in Linux Analyzing file sizes in Linux can be challenging, especially when you want to group them by directory and filter them using a specific…
Linux: Edit Environment Variables on the Fly with varedit The varedit function is a versatile and user-friendly Bash function designed to simplify editing environment variables in memory using…