Celeb Glow
news | March 22, 2026

Opening a new tab in Firefox through the terminal

I want to open a new tab in an existing Firefox instance through bash. Older answers point towards the -remote command line option, but this switch has been depreciated since Firefox 39. The new way to accomplish this is by using the --new-tab option:

firefox --new-tab

However, on Ubuntu this opens a new window instead.

1 Answer

What's completely undocumented is that Firefox expects a --url parameter and will launch a new window otherwise. If you don't want the new tab to navigate to a url, give about:newtab as the url parameter.

firefox --new-tab --url about:newtab
6

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy