Handling POSIX signals in bash using trap

Bash has a way of intercepting signals to perform actions. This is a nice way to have cleanup functions that can be executed before the program exists. Here are some examples in how you can setup a function that is capable of intercepting signals.

#!/bin/bash
# settting up the trap …

Continue reading »

Error: Argument list too long

Today I faced an unsual error. One of the jobs in the CI server was failing with the following message: [Argument list too long]. After some debugging and reading, I figured that the error is related to a kernel limitation, apparently well known, and today I am going to explain …

Continue reading »
Older Articles »