linux:pipe-output

Pipe output of terminal to file

https://askubuntu.com/questions/420981/how-do-i-save-terminal-output-to-a-file

command |& tee -a output.txt

- Both the standard output and standard error streams will be copied to the file while still being visible in the terminal. If the file already exists, the new data will get appended to the end of the file.

  • linux/pipe-output.txt
  • Last modified: 2019/04/18 22:11
  • by 108.225.197.92