Is there a way to open a browser window from within the vagrant vm? This is what it says:
$ open .
Couldn't get a file descriptor referring to the console
$ open http://localhost:3000
Couldn't get a file descriptor referring to the console
Since I'm in the vm on ubuntu, probably that open command doesn't work or doesn't exist I'm guessing. But is there a way to accomplish that?
open(1)
is actually a link toopenvt(1)
, which apparently opens a command (such as a shell) in a new virtual terminal window. It's almost nothing like OS X'sopen(1)
command, which does about the same thing as double-clicking an icon in the Finder (open directories in Finder, opens documents in their native editor, opens URLs in the default handler for that URL scheme). That "Couldn't get a file descriptor referring to the console" error is from Ubuntu'sopen[vt]
command, not OS X'sopen
.