如何从带有URL"localhost:3000"的终端打开Google Chrome? [英] How can I open Google Chrome from the terminal with the URL "localhost:3000"?
本文介绍了如何从带有URL"localhost:3000"的终端打开Google Chrome?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每当我尝试使用URL"localhost:3000"打开Google Chrome时,它就会混乱并且仅打开一个没有URL的空白标签.经过一些测试,我发现它是:"弄乱了它.这有效:
Whenever I try to open Google Chrome with the URL "localhost:3000" it messes up and simply opens a blank tab with no URL. After some testing I've figures out it is the ":" messing it up. This works:
$ google-chrome www.gmail.com
但这不起作用
$ google-chrome localhost:3000
也不是
$ google-chrome "localhost:3000"
如何使用此URL打开Google Chrome? 我正在使用Ubuntu,bash脚本和gnome-terminal.
How can I open Google Chrome with this URL? I am using Ubuntu, bash script, and the gnome-terminal.
推荐答案
您尝试过吗?
google-chrome http://localhost:3000
这篇关于如何从带有URL"localhost:3000"的终端打开Google Chrome?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文