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


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

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>