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

后端 未结 15 1439
余生分开走
余生分开走 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:17

    From the bash shell (on Windows), you can use:

    start myFilename.html

    and to open a folder:

    explorer "C:\Program Files\Git"

    Added for reference, since my search landed here, too.

提交回复
热议问题