HomeLinuxCombine and Match Terminal With Nautilus File Supervisor in Linux

Combine and Match Terminal With Nautilus File Supervisor in Linux


Nautilus is the graphical file browser within the GNOME desktop. You utilize it for accessing and managing recordsdata and folders in your system.

You too can handle recordsdata and directories from the terminal although not everybody prefers that.

Nonetheless, you could encounter conditions the place it’s a must to change between the terminal and file supervisor.

There are numerous methods to work together between the Nautilus file supervisor and terminal. Surprisingly, not many Linux customers learn about them.

For instance, in Nautilus, right-click and select ‘Open in terminal’ possibility and you may open the present listing location within the terminal.

Open terminal from Nautilus file manager in Linux

That is simply one of many many examples I’m going to share with you on this article.

1. Drag and drop to get absolutely the path

When you drag and drop a folder or a file to a terminal, its absolute path will likely be pasted on the terminal display.

Dragging and Dropping a File or Folder from Nautilus to Terminal will paste tha absolute path of that item
Copies Absolute Path

This helps if you find yourself deep contained in the listing construction within the file browser and do not wish to kind the whole path within the terminal.

2. Enter a listing

It is just like what you noticed above. In case you are deep contained in the listing construction and do not wish to kind the whole path for switching to the listing, this trick helps.

Kind the cd command within the terminal after which drag and drop to enter into the listing.

Enter to a directory by Drag and Drop that directory to the terminal after a "cd" command
Enter a Listing

3. Open a file in editor

Equally, you’ll be able to open a file for enhancing with Nano or Vim editor.

Drag and drop a file to nano command to open it for enhancing.

After typing "nano", drag and drop the file you need to edit to the terminal
Edit a File

4. Open a file for enhancing with sudo

Identical as above however this time, you open the file for enhancing with sudo entry.

Open the sources list file in nano with sudo privileges.
Open recordsdata with sudo privileges

5. Drag a number of recordsdata, if the command helps a number of arguments

You too can drag and drop a number of recordsdata to get their absolute paths. This can be utilized with instructions that settle for a couple of argument.

For instance, the diff command checks the distinction between two recordsdata. Enter diff after which drag and drop the recordsdata you wish to verify for variations.

Check the difference in two files by selecting both files and then drag and drop them as diff command arguments
Examine Distinction

6. Copy and paste from textual content recordsdata

Studying a doc and should run a command talked about in it? You may after all copy paste within the terminal.

Nonetheless, a faster approach is to pick out the textual content and drag and drop it to the terminal.

This trick works with GNOME-Sushi preview as properly.

Drag and Drop some text from any file from its overview using GNOME-Sushi
Drag and Drop from gnome-sushi

7. Drag and drop from browser

Just like the textual content recordsdata above, you can even drag and drop textual content from browsers. This helps in following tutorials whereas doing it on the similar time.

Drag and Drop codes or URLs from internet to the terminal without copy or paste
Drag and drop from web

8. Embed terminal in Nautilus

Cannot stay with out the terminal? Embed it straight within the file supervisor. This fashion you do not have to open a terminal individually.

The factor right here is that should you change to a different listing within the file browser, it mechanically switches the straight within the embedded terminal additionally.

You may carry out many of the above-mentioned drag and drop operations within the Nautilus embedded terminal additionally. For instance, seek for a particular textual content in bashrc, by dropping the .bashrc file and utilizing grep.

Search for a specific text in bashrc, by dropping the .bashrc file in the embedded terminal and using grep
Utilizing Embedded Terminal

9. Drag recordsdata between tabs of the embedded terminal

Each terminal and file supervisor helps the tabbed view. You may drag and drop recordsdata from one tab to a different.

For instance, to verify the shasum worth for an ISO, enter shasum command, then, drag and drop the file from one other tab, as proven under.

Check the shasum value for an ISO, enter shasum command, then, drag and drop the file from another tab
Drag and Drop from a number of tabs in Nautilus

Extra on Nautilus and terminal

Favored the following pointers? Perhaps you’ll wish to be taught extra such suggestions.

If you wish to get extra out of the Nautilus file supervisor, listed below are a couple of suggestions for you.

13 Methods to Tweak Nautilus File Supervisor in Linux

Nautilus, aka GNOME Information, is an effective file supervisor with loads of options. You may additional improve your expertise through the use of these extensions, tweaks and suggestions.

Listed here are some terminal tricks to discover.

19 Primary However Important Linux Terminal Suggestions You Should Know

Study some small, fundamental however usually ignored issues concerning the terminal. With the small suggestions, it’s best to be capable to use the terminal with barely extra effectivity.

💬 Are you aware every other such cool tip that mixes the terminal and the file supervisor? Why not share it with us within the remark part under?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments