Open a directory in a Linux GUI file browser via the command line

Solution 1:

In Gnome you can do

nautilus . &

The dot means current directory, and the & runs the process in the background so you can continue to use your terminal (and ctrl+c won't kill the browser).

Solution 2:

xdg-open . This alone should do the trick if you want to open the current directory, else try xdg-open /path.