Currently, I am at the gnome terminal in the following directory shown in the pwd output.
Now, I need to open/view the same directory from gnome Files GUI.
Is there a command by which the current directory location is opened in Gnome Files GUI (I think Files used to be called Nautilus) ?
$ pwd
/home/herve/MyFiles/Employment-Visa-Stuff/2018/Employment-Docs
$
$
$
$ files
bash: files: command not found...
Similar command is: 'file'
$ Files
bash: Files: command not found...
An alternative would be to use xdg-open, which opens a directory or file in your default apps. The advantage of xdg-open is that it also handles files in addition to directories.
But, as xdg- is annoying to type every time, I have it aliased to open on my system, so I use open . or open Downloads (or other directories) which opens in Nautilus… as well as open foo.svg (which opens in Inkscape here), open file.txt (opens in gedit), etc.
For Nautilus, it does have the same effect as running the commands in the above comments (unless you’re using another desktop with another file manager as your default). However, this lets you have one single command to bridge your terminal to graphical apps.