Created
October 22, 2014 07:35
-
-
Save nlamirault/759cf6e614d5398b02e5 to your computer and use it in GitHub Desktop.
simple terminal broadcasting
This file contains hidden or 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 first terminal : | |
$ tcpserver -v 0.0.0.0 8888 tail -f /tmp/script | |
- On another terminal : | |
$ script -f /tmp/script | |
- Anyone that wants to view your session can simply run: | |
$ telnet $HOSTNAME 8888 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment