Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Not sure if it was asked before but I really couldnt find anything related to this. Heres my Question. Opening a URL in firefox through linux command line works fine, like below:

firefox (this command works alright)

But, how do I open a URL having GET params. e.g.


It URL Encodes the whole URL and convers the "?" to "%3F" . On window open, the URL becomes: and not understood by the browser

share|improve this question
I don't use firefox. But I think this shoud work firefox "" – Thomas15v Apr 5 '13 at 12:09

1 Answer 1

If you type that from a command prompt then the shell will parse the ?
(The same will happen if your URL contains an ampersand (&) or an asterix (*).

To avoid this use double quotes around the part you do not want the shell to parse.

E.g. /usr/local/bin/firefox ""

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.