If w3m is not installed by default then install w3m using the following command in terminal.
sudo apt-get install w3m
Now to access a web page in command line(terminal in linux)
open the terminal and type :
w3m <website name> w3m <file name path> Example: w3m www.google.co.in w3m /home/test.html
For more information and option to use with w3m command,refer:
linuxservertutorials.blogspot.com/2009/02/ubuntu-server-default-web-browser-is.html linux.die.net/man/1/w3m w3m.sourceforge.net/ joysofprogramming.com/install-w3m-ubuntu/