import{_ as t,o as i,c as s,a as e,b as d,e as n,d as l,r}from"./app.4d248835.js";const o={},c=e("h1",{id:"tee",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#tee","aria-hidden":"true"},"#"),n(" tee")],-1),u={href:"https://arthas.aliyun.com/3.x/doc/arthas-tutorials.html?language=en&id=command-tee",target:"_blank",rel:"noopener noreferrer"},v=e("code",null,"tee",-1),m=n(" online tutorial"),p=l(`
TIP
Similar to the traditional tee
command, it is used to read standard input data and output its contents into a file.
tee
will read data from standard input device, output its content to standard output device, and save it as a file.
USAGE:
tee [-a] [-h] [file]
SUMMARY:
tee command for pipes.
EXAMPLES:
sysprop | tee /path/to/logfile | grep java
sysprop | tee -a /path/to/logfile | grep java
WIKI:
https://arthas.aliyun.com/3.x/doc/tee
OPTIONS:
-a, --append Append to file
-h, --help this help
<file> File path