DTEE(1)
π dtee(1) β run a program with standard output and standard error copied to files π
π NAME π
dtee β run a program with standard output and standard error copied to files.
Okay bestie, this is the whole dtee(1) situation, and itβs genuinely iconic for anyone who wants their terminal output and their files to eat at the same time. π
π¦ SYNOPSIS π¦
dtee [option]... <command> [arguments]...
cronty [option]... <command> [arguments]...
β¨ DESCRIPTION β¨
Run command with standard output and standard error copied to files while maintaining the original standard output and standard error in the original order.
So likeβ¦ your command does its thing, the streams still show up normally, and copies go into files too. Original order stays intact. No cap. π
π OPTIONS π
π Output files π
Standard streams can be written to any number of specified files, in addition to normal output. Output is not line buffered.
Heads up on that last bit: output is not line buffered, so donβt expect neat little line-by-line flushes. π
-o <filename>,--out-append=<filename>β Append standard output to filename, creating the file if it does not exist.-O <filename>,--out-overwrite=<filename>β Copy standard output to filename, truncating and overwriting existing content.-e <filename>,--err-append=<filename>β Append standard error to filename, creating the file if it does not exist.-E <filename>,--err-overwrite=<filename>β Copy standard error to filename, truncating and overwriting existing content.-c <filename>,--combined-append=<filename>β Append standard output and standard error to filename, creating the file if it does not exist.-C <filename>,--combined-overwrite=<filename>β Copy standard output and standard error to filename, truncating and overwriting existing content.
βοΈ General options βοΈ
-i,--ignore-interruptsβ Ignore keyboard interrupt signals (SIGINT). This does not prevent the command being executed (and other processes in the same progress group) from receiving the signal. Sheβs ignoring the interrupt for herself, not blocking the whole group chat. π-q,--cronβ Operate in cron mode (this is implied when invoked ascronty). Suppresses all output unless the process outputs an error message or has a non-zero exit status whereupon the original output will be written in the original order and the exit code will be appended to standard error. Quiet mode until something goes wrong, then it spills the tea in original order. β
π Miscellaneous π
-h,--helpβ Display usage information and exit.-V,--versionβ Output version information and exit.
π SEE ALSO π
Full documentation <https://dtee.readthedocs.io/>
π Author π
Simon Arlott
π Copyright π
2018-2025, Simon Arlott
π Thatβs the dtee(1) page, bestie β dtee version 1.1.3, dated Jun 16, 2025. Slay and stay buffered-ish! π
π¦ where this page comes from
- nixos 26.05: dtee 1.1.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms