Skip to content

Instantly share code, notes, and snippets.

@vhbui02
Created May 2, 2023 04:41
Show Gist options
  • Save vhbui02/4200eede94430ac5517b9de81de71922 to your computer and use it in GitHub Desktop.
Save vhbui02/4200eede94430ac5517b9de81de71922 to your computer and use it in GitHub Desktop.
[tee command] Copy stdin to each FILE, and also to stdout #linux

tee [OPTIONS] [FILE]

Options

-a or --append: append to the given FILEs, DO NOT OVERWRITE

-p: diagnosis errors writing to non pipes.

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