Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Problem if there is a "(" in an url when trying open a tab in cli (-new-tab)

  • 2 (ردّان اثنان)
  • 1 has this problem
  • 4 views
  • آخر ردّ كتبه lz

more options

If there is a "(" in an url when trying open a tab in cli (-new-tab) I get the answer: bash: syntax error near unexpected token `('

Example: try 'firefox -new-tab https://en.wikipedia.org/wiki/Bernicia_(disambiguation)'

Any idea?

If there is a "(" in an url when trying open a tab in cli (-new-tab) I get the answer: bash: syntax error near unexpected token `(' Example: try 'firefox -new-tab https://en.wikipedia.org/wiki/Bernicia_(disambiguation)' Any idea?

الحل المُختار

What if you quote the URL?

firefox.exe -new-tab "https://en.wikipedia.org/wiki/Bernicia_(disambiguation)"

Otherwise, you might need to encode it in some manner? For example:

firefox.exe -new-tab "https://en.wikipedia.org/wiki/Bernicia_%28disambiguation%29"

Read this answer in context 👍 0

All Replies (2)

more options

الحل المُختار

What if you quote the URL?

firefox.exe -new-tab "https://en.wikipedia.org/wiki/Bernicia_(disambiguation)"

Otherwise, you might need to encode it in some manner? For example:

firefox.exe -new-tab "https://en.wikipedia.org/wiki/Bernicia_%28disambiguation%29"

more options

Sorry, I should have thought of it myself. It works with quotation. Thanks!