When I work in terminal, sometimes I want to open the current directory in a GUI file manager. And then to click the items in the window to run the application. How can I do this?
When I work in terminal, sometimes I want to open the current directory in a GUI file manager. And then to click the items in the window to run the application. How can I do this?
The following works in all desktop environments by using the default file manager:
You can also open files from the terminal as if you had double clicked them in the file manager:
Problem
This tip will explain How to open a file manager of the current directory in the terminal
Solution 1
The following works in all desktop environments by using the default file manager:
Solution 2
You can also open files from the terminal as if you had double clicked them in the file manager:
Solution 3
If you are using Gnome, you can use the gnome-open command, like so:
Solution 4
You can use nautilus [path]. for current directory -
You write nautilus [path]. for current directory -
In Ubuntu 20.04, you can just say
browse .
to open the current directoryIf you are using GNOME, you can use the
gnome-open
command, like so:You can use,
nautilus .
and press enter to open the current directory.To open path specified location try the following.
E.g. If you want to open Music folder under this location:
Then execute the following.