Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Nov 082010
 

Emulate telnet using nc

Answer:

Telnet is a very useful tool for connecting to remote server, such as SMTP. However, you can replace the command telnet by nc, with the exact functionality.

Example: Connect to the local SMTP server.

# nc localhost 25