← Useful Tips
Linux / WSLLinux

tee: See command output while saving it to a log

Use tee to see command output while saving it to a log. It is especially handy when you live in terminals and repeat long commands.

tee

Why it helps

Use tee to see command output while saving it to a log. It is especially handy when you live in terminals and repeat long commands.

How to use it

  1. Open the relevant app or terminal.
  2. Use the shortcut or command above in the relevant context.
  3. Check the result; for commands that change data, test on a small example first.
People also search for
tee: See command output while saving it to a logteesee command output while saving it to a loghow to see command output while saving it to a logLinux / WSL see command output while saving it to a log

Related tips