STDBUF(1)
π¦ STDBUF(1) β the one where your streams stop being so mysterious
okay bestie, so this is stdbuf, from the General Commands Manual girlies. she runs a command but β¨rearrangesβ¨ how its standard streams buffer stuff. it's giving backstage-pass energy for your I/O.
β¨ NAME β¨
stdbuf β Run COMMAND, with modified buffering operations for its standard streams.
no cap, that's literally the whole pitch. π
πΈ SYNOPSIS πΈ
stdbuf [OPTION]... COMMAND
π DESCRIPTION π
Run COMMAND, with modified buffering operations for its standard streams.
that's it. that's the vibe. you point her at a command, you tell her how you want the streams buffered, and she makes it happen. main character energy for your pipes. π«Ά
π OPTIONS π
-i,--input <MODE>β adjust standard input stream buffering-o,--output <MODE>β adjust standard output stream buffering-e,--error <MODE>β adjust standard error stream buffering-h,--helpβ Print help-V,--versionβ Print version
π₯ EXTRA π₯
okay so this is the part where MODE actually means something, and honestly it's the whole personality of the page, so pay attention bestie π
If MODE is 'L' the corresponding stream will be line buffered. This option is invalid with standard input. like, -i L is not the move, she will not accept it, periodt.
If MODE is '0' the corresponding stream will be unbuffered. instant. no waiting. feral little stream. π
Otherwise, MODE is a number which may be followed by one of the following:
KB1000K1024MB1000*1000M1024*1024
and so on for G, T, P, E, Z, Y. π In this case the corresponding stream will be fully buffered with the buffer size set to MODE bytes.
NOTE: IfCOMMANDadjusts the buffering of its standard streams (teedoes for e.g.) then that will override corresponding settings changed bystdbuf. Also some filters (likeddandcatetc.) don't use streams for I/O, and are thus unaffected bystdbufsettings.
so yeah β if the command has opinions about its own buffering, her opinions lose. and if the filter doesn't even use streams for I/O, stdbuf is just standing there like π§ββοΈ. not her fault, she tried. π
β VERSION β
v(uutils coreutils) 0.12.0
and that's the whole page bestie, you ate that π fr fr β this cutie is from uutils coreutils version 0.12.0, dated 2026-09-17, and I'm obsessed with her, ngl ππβ¨
π¦ where this page comes from
- arch rolling: uutils-coreutils 0.12.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms