Skip to content

Instantly share code, notes, and snippets.

@yenliangl
Created September 28, 2012 07:25
Show Gist options
  • Save yenliangl/3798451 to your computer and use it in GitHub Desktop.
Save yenliangl/3798451 to your computer and use it in GitHub Desktop.
Use tee to save output of one command pipe and also to standard output
command |& tee output.ext
@kopax-polyconseil
Copy link

the & is unecessary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment