How do I open a file with Chrome from the command line?

后端 未结 15 1368
余生分开走
余生分开走 2020-12-25 09:47

I would like to open a file (index.html) in the current directory with Google Chrome or Chromium from a bash terminal (I\'m using Linux Mint 15). What is the command? I\'v

15条回答
  •  独厮守ぢ
    2020-12-25 10:33

    1. In bash or git CMD, make sure you are in your project directory/folder
    2. Type start index.html
    3. Hit Enter. Voila :-) you're done

    This worked for me. Hope it does for you too.

提交回复
热议问题