Hacker News new | ask | show | jobs
by obeid 3317 days ago
Is there an equivalent to that for urls typed on the command line to be opened using whatever $BROWSER
1 comments

start http://example.com/

works in Windows.

xdg-open [1] is for Linux.

https://linux.die.net/man/1/xdg-open

Oh wow! Thanks. For macs you can use

  open http://example.com/
Good to know, thanks :)