A Quick Tutorial on Telnet

How to use telnet with terminal commands

Rob Johnson

By Rob Johnson

Sun Oct 06 2013


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


If you don't have telnet installed, install it with this following terminal command:

sudo apt install telnet

How to use

Enter the following lines into terminal

telnet robkjohnson.com 80
GET / HTTP/1.1
host: robkjohnson.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.


Telnet is an old protocol that does not have any security, so anyone can eavesdrop on your connection. So make sure you're not accessing anything private with it.

Thanks goes to @xunker for teaching me this.

http://rubular.com \s-\s(\d{7})
# commerce 14 # seo 5 # tools 7 # amazon 1 # sql 4 # shopify 9 # javascript 13 # projects 4 # css 2 # git 2 # php 3 # analytics 4 # api 6 # monitoring 2 # python 2 # aws 2