2

On linux/bash I'd like to append stdout of a command to a file, but not redirect it (i.e. I want it to to go to both console and file). Any clues?

Joel
  • 469
  • 2
  • 6
  • 13

1 Answers1

7

I think "tee" is the right command for this -- unfortunately I don't know the exact syntax. Tee writes its input to stdout and to a file.

cmenke
  • 155
  • 1
  • 4