Linux command
pee 命令
文本
Uses pipes, overwrite, or deletion. Check paths and options first.
命令示例
Pipe to multiple commands
echo "data" | pee [cmd1] [cmd2]
Tee to processes
cat [file] | pee "wc -l" "wc -w"
Process and save
cat [log] | pee "grep error" "cat > copy.log"
说明
pee tees stdin to multiple commands. Like tee but to processes. The tool duplicates input to commands. Part of moreutils.
FAQ
What is the pee command used for?
pee tees stdin to multiple commands. Like tee but to processes. The tool duplicates input to commands. Part of moreutils.
How do I run a basic pee example?
Run `echo "data" | pee [cmd1] [cmd2]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more pee examples?
This page includes 3 examples for pee, plus related commands for nearby Linux tasks.