Opening files in Ubuntu, on the command line

Use the program

gnome-open <my-file>

This will open the file with the default program for that file type, just like when opening files in the graphical environment (nautilus, nemo)