Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Netcat and communication with the lab computers

19 views
Skip to first unread message

Mark I

unread,
May 28, 2016, 1:31:58 PM5/28/16
to
Netcat allows you to transfer bytes over an network.
nc is already installed on all (most) linux

to use:
run on a train computer, this tells netcat to listen for a connection on a port
nc -l PORT

on your pc or thin client run:
nc IPADDR PORT

where IPADDR is the address of the machine you're connecting to and PORT is the same port you used eirlier.

This can be used in a bash pipe, and the bytes come out at the other end.
This can also be used by itself as a simple "chat" application to send text to and from those computers.
0 new messages