cURL / Mailing Lists / curl-users / Single Mail


Re: how open web page using curl with bowser

From: Sajith T S <>
Date: Fri, 14 Nov 2008 23:26:54 +0530

Jayalakshmi <> wrote:
> i want to open home page of my web server using curl command line.
> my system is using Mozilla Firefox bowser (linux OS).
> i tried with following commands, but still it is opening in the
> text/html format.
> curl -A 'Mozilla/4.05 [en] (X11; U; Linux 2.0.32 i586)' URL
> Even i donot know which version of Mozilla Firefox I am using ?

Shouldn't you be calling firefox directly? Like:

   firefox http://my.web.server

The '-A' option merely changes the user-agent string sent to the web
server; it will not launch a browser.

"the lyf so short, the craft so long to lerne."  
     	         -- Chaucer.
List admin:
Received on 2008-11-14