Linux

Catch exit codes in bash - pipefail vs PIPESTATUS
Nov 27, 2017

Catch exit codes in bash - pipefail vs PIPESTATUS

The other day I caught a bug in one of my scripts, where I wanted to both act on the exit code of a command at the same time as I sent the output from it to a log file.

Categories: Development Linux
Using sudo and redirecting output to a file
Feb 4, 2014

Using sudo and redirecting output to a file

Sudo is a cool tool to have under your belt. I have heard excuses for not using sudo so many times, that if I was given a penny every time I would at least be able to buy myself a coffee.

Categories: Development Linux
Supersize io operations in Linux
Apr 27, 2012

Supersize io operations in Linux

This time I will tell you something that most of you really don't care about, Max io size.

Categories: Development Linux Solaris
Monitoring the progress through a pipe
Feb 15, 2012

Monitoring the progress through a pipe

Small linux command, but still cooler than sliced bread

Categories: Development Linux