Last active
October 6, 2017 21:36
-
-
Save volure/e3d8b6b555d1e4a7b473 to your computer and use it in GitHub Desktop.
BASH: cat using pipes for the input and the output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This may be a little misleading because the */cmd/in is input to the pipe, therefore output from cat. | |
#therefore */cmd/out is output from the pipe, and therefore input from cat. | |
cat >/tmp/com.thelazycoder.PipesBomb/cmd/in|tee </tmp/com.thelazycoder.PipesBomb/cmd/out | |
# This can be used with input and output from command line executables as well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment