Ubuntu – Opening the file browser from terminal

command line

What's the command to open the file browser? I want it so that I can assign a keyboard shortcut to open a specific folder.

Best Answer

nautilus --browser will ensure that Nautilus is launched in browser mode even if you're normally using it in spatial mode.

You can append the path you want to open to the end:

nautilus --browser ~/some/directory