Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here is a quick-and-hackish way to stream / broadcast your terminal (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


Netcat continually astounds me. The amount of functionality that that little tool provides is just short of incredible.


It's actually not so much netcat, but the Unix system that has such flexibility.


Definitely hackish, but still useful. Thanks for sharing!




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: