info > stdbuf

๐Ÿ“– NAME

stdbuf โ€” run a command with modified I/O stream buffering

๐Ÿš€ Quick Reference

Use CaseCommandDescription
๐Ÿงต Line buffer stdoutstdbuf -oL commandSet stdout to line-buffered mode
๐Ÿ”Œ Disable buffering for stderrstdbuf -e0 commandMake stderr unbuffered (immediate output)
๐Ÿ“ฆ Specify buffer size for stdinstdbuf -i 4M commandSet stdin buffer to 4 MiB
โš™๏ธ Full buffering with custom sizestdbuf -o 8K commandSet stdout to fully buffered with 8KB buffer

๐Ÿ“‹ SYNOPSIS

stdbuf OPTION... COMMAND

Any additional ARGs are passed as additional arguments to COMMAND.

๐Ÿ“ DESCRIPTION

stdbuf allows one to modify the buffering operations of the three standard I/O streams (stdin, stdout, stderr) associated with a program.

COMMAND must start with the name of a program that:

stdbuf is installed only on platforms that use the Executable and Linkable Format (ELF) and support the constructor attribute, so portable scripts should not rely on its existence.

โš™๏ธ OPTIONS

The MODE can be specified as follows:

๐Ÿšช Exit Codes

stdbuf
๐Ÿ“– NAME ๐Ÿš€ Quick Reference ๐Ÿ“‹ SYNOPSIS ๐Ÿ“ DESCRIPTION โš™๏ธ OPTIONS ๐Ÿšช Exit Codes

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-16 07:46 @216.73.217.24
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!