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

command line

Is there a way to open a file browser window (in KDE or GNOME or some desktop environment) for a directory while your navigating directories from the terminal?

Text editors that have a GUI will open up when I run them via the command line; I just wanted to do that for certain directories when I'm roaming around.

Best Answer

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).

Related Question