Broadcast your shell

Imagine you are using PC1 and you want your partner on PC2 to see what you are doing. You can broadcast your shell at port 5000 with:

$ script -f >(nc -l 5000)

Now, your partner from PC2 can see the shell you are broadcasting:

$ nc IP_FROM_PC1 5000

Now, PC2 can see everything you are doing in your shell at PC1.

This is handy when you want to show someone else some amazing stuff in your shell without giving them control over it.

#Linux   #CommandOfTheDay  
Shared publiclyView activity