How to change system proxy settings from terminal in ubuntu 12.04(Precise)

If you are having ubuntu desktop/laptop in your office or at home behind proxy aerver this tutorial is for you.This tutorial will explain How to Configure Ubuntu desktop/laptop to use your proxy server from...