You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arthas/_sources/tee.md.txt

29 lines
732 B
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

tee
===
[`tee`在线教程](https://alibaba.github.io/arthas/arthas-tutorials?language=cn&id=command-tee)
> 类似传统的`tee`命令, 用于读取标准输入的数据,并将其内容输出成文件。
> tee指令会从标准输入设备读取数据将其内容输出到标准输出设备同时保存成文件。
```
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://alibaba.github.io/arthas/tee
OPTIONS:
-a, --append Append to file
-h, --help this help
<file> File path
```