Open Chromium tabs from command line

6,253

You can use similar methods with Chrome(ium) as well. You don't need to use -new-tab or -url in this case. The following command will launch Chromium with three new tabs open, or just will open these tabs if Chromium is already launched:

chromium-browser firefox.com ubuntu.com duckduckgo.com &
  • The ampersand & will push the process to the background if there is not already opened Chromium browser, and you will be able to use or close the terminal independently of Chromium. Otherwise it does not hinder.

enter image description here

Share:
6,253

Related videos on Youtube

augusto
Author by

augusto

coder, app designer, ui maniac

Updated on September 18, 2022

Comments

  • augusto
    augusto almost 2 years

    I'd like to open Chromium Browser with a set of defined tabs, probably set in a favourite folder. Is there anyway to achieve that?

    It would be similar to the Firefox behaviour @Andy j defined in https://askubuntu.com/a/617935/209229

  • Admin
    Admin almost 7 years
    Yes, this would most likely be preferable. Editing to cite above.
  • Admin
    Admin almost 7 years
    Awesome! You did a much better job formatting that than I did! xD Thank you very much. :D