A Quick Tutorial on Telnet

by Rob Johnson in on 6 Oct 2013

tl;dr:How to use telnet with terminal commands

Telnet is a network protocol used on the Internet or local area networks to provide a bidirectional interactive text-oriented communication facility using a virtual terminal connection. – Wikipedia

Enter the following lines into terminal:

telnet robkellas.com 80
GET / HTTP/1.1
host: robkellas.com

What is returned is essentially plain text of the source code. Which is exactly what your browser receives through the same GET/HTTP1.0 or GET/HTTP1.1 request.

Thanks goes to @xunker for teaching me this.

http://rubular.com \s-\s(\d{7})

code

Was this article helpful to you? /