On MacOS X I can runopen /some/path/index.htmland this would open the page index.html with the default software that handles .html files. Is there something similar on Ubuntu Linux? I have used gnome-open in the past, but if there is no gnome installed, this command fails, of course.gnome-open /some/path/index.htmlIs there a generic open this file with the default application on Linux?
How to open a local URL (webpage) on the command line
command line;scripting
A desktop-environment-agnostic open utility is xdg-open, which could fill your need.  It's probably packaged with some other utilities of xdg-utils.It's discussed here quite often, see for example this question for details on configuring it.(Other desktop environments come with *-open utilities, too, e.g. there is XFCE's exo-open)