Launch files / directories using Gnome from command line
A cross-distribution, cross-desktop manager command to achieve this is:
xdg-open foo.bar
Use the gnome-open
command and it will use the application you have associated with that file type (MIME). For example:
gnome-open foo.pdf