0

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

echo "foo" | tee >&2
ΦXocę 웃 Пepeúpa ツ
  • 47,427
  • 17
  • 69
  • 97
sunknudsen
  • 6,356
  • 3
  • 39
  • 76

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 ツ
  • 47,427
  • 17
  • 69
  • 97