Hacker News new | ask | show | jobs
by tuananh 5288 days ago
kind of cool but in the end, you need to open your browser anyway !!
1 comments

Here is one way to force your browser to open a URL by entering a terminal command:

    echo 'open location "http://my.domain.com/some/file.html"' | osascript
You can also open an url with:

   open http://my.domain.com/some/file.html