9 ms·
Here is a quick-and-hackish way to stream / broadcast your terminal (http://www.commandlinefu.com/commands/view/6788/ http://www.commandlinefu.com/commands/view
by clvv 14y ago
Here is a quick-and-hackish way to stream / broadcast your terminal (http://www.commandlinefu.com/commands/view/6788/ http://www.commandlinefu.com/commands/view/6788/):
script -qf | tee >(nc -l -p 5000) >(nc -l -p 5001) >(nc -l -p 5002)
The client can then run `nc your_ip port` to watch your terminal live.
Also, I once wrote a node.js script that broadcasts recorded terminal sessions. To see a demo:
nc wei23.net 5000
Code is on Github: https://github.com/clvv/scriptbroadcast https://github.com/clvv/scriptbroadcast
- jrgifford 14y agoDefinitely hackish, but still useful. Thanks for sharing!
- jperras 14y agoNetcat continually astounds me. The amount of functionality that that little tool provides is just short of incredible.
- Edootjuh 14y agoIt's actually not so much netcat, but the Unix system that has such flexibility.