Use netcat to make your working efficient.
1. listen on a post or connect to a port
nc -l 3333
nc 192.168.0.1 3333
2. serve a file on a port for downloading or connect to a port to download a file
cat backup.iso | nc -l 3333
nc 192.168.0.1 3333 > backup.iso
3. serve a file on a port for downloading or connect to a port to download a file and show the process during downloading ( You should install pv)
cat backup.iso | pv -b | nc -l 3333
nc 192.168.0.1 3333 | pv -b > backup.iso
4. backup the files under a directory to somewhere
tar -czf – /etc/ | nc -l 3333
nc 192.168.0.1 3333 | pv -b > mybackup.tar.gz
5. transfer files in different shell and directory
cat backup.iso | nc -l 3333
nc 192.168.0.1 3333 > backup.iso
6. look up a word in directory
nc dict.org 2628
DEFINE wn server
QUIT