0

I am asking in the context of piping the result of the following command to another:

echo "foo" | tee >&2
ΦXocę 웃 Пepeúpa ツ
  • 45,713
  • 17
  • 64
  • 91
sunknudsen
  • 5,128
  • 1
  • 27
  • 51

1 Answers1

2

with >&2 you are sending the output to standard error instead of standard out.

here you can read about the standard I/O streams:

https://man7.org/linux/man-pages/man3/stdin.3.html

ΦXocę 웃 Пepeúpa ツ
  • 45,713
  • 17
  • 64
  • 91