Skip to Content
gnux

-o, --output

Adjust standard output stream buffering to MODE.

An option of stdbufx.

Usage

stdbufx -o MODE OPTION... COMMAND [ARG]...
stdbufx --output=MODE OPTION... COMMAND [ARG]...

Details

ShortLongValueDefaultMeaning
-o--outputMODEadjust standard output stream buffering to MODE

Examples

See each line of a program's output as soon as it is written, through a pipe

tail -f app.log | stdbufx -oL awk '/ERROR/' | teex errors.log

gnux tools need none of this, but take it in their stride

tail -f app.log | stdbufx -oL grepx ERROR

Help in the terminal

gnux help stdbufx --output

On this page