Need to quickly transfer a file from one computer to another? They don't have AirDrop and you can't find a memory stick? No worries; netcat comes to the rescue. This tip works on Linux as well as OSX.
I'm going to suppose you're on the same LAN, the subnet address space begins with 192.168, and you want to transfer a file called file.tar. First, on the receiving computer, type
ifconfig|grep 192.168 to find out its IP address. Then make netcat listen to a port by typing
nc -l 12345 > file.tar. On the sending side, type
nc 192.168.1.243 12345 < file.tar (or whatever the IP address and file name are). And magic happens!