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 terminal.

Enable proxy setting from terminal in ubuntu 12.04

Open the terminal and run the following commands

Important Note:- Host IP and port setting will be different please check with your proxy administrator