From Hackepedia
Jump to navigationJump to search

Have you ever wondered what happens when you are surfing the www? How does the text show up so pretty in your web browser?

$ telnet 80

and once you see

Connected to
Escape character is '^]'.

then type

GET / HTTP/1.0

hit [ENTER] twice, and watch the text scroll by. This is the information (HTML) that is sent to your web browser. You may also be interested in the extra information transfered when using SSL. You can verify this by running a sniffer and then browsing a webpage.


To change your default browser in a debian based distribution like Ubuntu:

sudo update-alternatives --config x-www-browser

and choose the one you want from the list of your installed browsers.