Created
February 22, 2013 18:57
-
-
Save fstamour/5015711 to your computer and use it in GitHub Desktop.
Derping with fifo on linux.
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
#on terminal 1 | |
mkfifo fifo | |
while true; do read line < fifo; $line; done | |
#on terminal 2 | |
cat > fifo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment