Skip to content
Search

Stdbuf

lastmod 2026-02-06created 2024-07-271 edits

Redirect stdout without buffering

Example

stdbuf -i0 -o0 -e0 time python analysis.py | tee output.log 

This sets the pipe buffer to 0, so output is printed immediately.

Text Processing Commands

List of text processing commands

Text

Common

grep, sed, awk, cat, xargs, rev, tee, ack, tr, stdbuf, split

Diff

diff, patch

Cutting

cut, head, tail, less, more, split, watch

Sort

uniq, sort

Hash

base64, md5sum, sha1sum, sha224sum, sha256sum, sha384sum, sha512sum

Clipboard

clip (Windows), pbcopy (Mac OSX), pbpaste (Mac OSX), xclip (Debian)

E.T.C

regexp, parallel

Favorite site

author Zer0 sitemap