Cardboard Iguana Security

unbuffer

Normally application output is printed to STDOUT whenever a newline is encountered ("line buffering"). However, line buffering is disabled when piping to another application. This is particularly annoying, for example, when piping the output of an application to tee in order to both observe and save it to a log.

unbuffer $APPLICATION | tee $LOG
unbuffer
Interactive graph
On this page
unbuffer