Compatibility of x-www-browser

Posted by rohit.arondekar on Stack Overflow See other posts from Stack Overflow or by rohit.arondekar
Published on 2010-04-22T08:44:22Z Indexed on 2010/04/22 9:03 UTC
Read the original article Hit count: 275

I want to open html files from a shell script. I know that Ubuntu has a command x-www-browser that will open the default browser on the system. I also found via some Googling that the command is part of the debian system. I was wondering if the command is available on non debian based distros. If it isn't is there a standard way of opening an html file in the default browser on a linux OS via command line? Note that I'm using Bash.

© Stack Overflow or respective owner

Related posts about shell-scripting

Related posts about bash