Launch nautilus in location navigated to in Terminal [duplicate]

Solution 1:

From your terminal, just open nautilus as follow:

nautilus .

It will open a new instance of Nautilus in the directory where you were in your Terminal.

From the nautilus man page:

SYNOPSIS
       nautilus [options] URIs...

Solution 2:

As well as

nautilus .

you can also do:

xdg-open .

and it will do the same as if you double clicked a file in nautilus. Which also means you can open a spreadsheet in LibreOffice with

xdg-open mysheet.ods

etc. I have it aliased to xopen for slightly quicker typing by putting the following in my .bashrc

alias xopen=xdg-open