tee - read from standard input and write to standard output and files
从标准输入,写入标准输出或文件
例子:
build.sh | tee /local/build.log
本文介绍了 Linux 中的 tee 命令,该命令能够从标准输入读取内容,并将其写入到标准输出及文件中。通过一个简单的示例说明了如何使用 tee 命令来记录 shell 脚本的日志。
tee - read from standard input and write to standard output and files
从标准输入,写入标准输出或文件
例子:
build.sh | tee /local/build.log
3万+
3202
1180

被折叠的 条评论
为什么被折叠?
