tee.1 894 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. TEE(1) "fases core"
  2. # NAME
  3. tee - duplicate standard input
  4. # SYNOPSIS
  5. *tee* [*-ai*] [*file...*]
  6. # DESCRIPTION
  7. Duplicate standard input. By default, with no options or files specified, tee
  8. acts just like cat; it copies standard input to standard output. With files
  9. specified, tee not only copies standard input to standard output, but it also
  10. copies it to the files specified by the user.
  11. *-a*
  12. Append the output to the files instead of overriding them.
  13. *-i*
  14. Ignore the SIGINT signal, which is triggered by <Ctrl> + <C> on the keyboard.
  15. # EXAMPLES
  16. *cat file.txt | tee one.txt two.txt three.txt four.txt five.txt*
  17. Copy cat's output to the files one.txt, two.txt, three.txt, four.txt,
  18. five.txt.
  19. # AUTHOR
  20. Written by Ferass El Hafidi as part of the fases project.
  21. Source code is at http://git.vitali64.duckdns.org/utils/fases.git.
  22. # COPYRIGHT
  23. Copyright (C) 2023 Ferass El Hafidi