[Quick Tip] Drag and drop the paste file / folder path into the terminal

Are you familiar with Linux commands? You may already know many tips and tricks that will save you a lot of time.

When I type something in a Linux terminal and press the Tab key, the command or file path is autocompleted or all possible options are printed, Tab autocomplete, etc. I’ve been using for a long time There are several.

Ctrl + Shift + V also pastes text into the terminal instead of Ctrl + V. You can select / highlight the text and paste it into the terminal with a middle mouse click without copying it to the clipboard.

Today I found a new terminal tip I didn’t know before.thanks to reddit, Share in the next step.

1. Drag and drop the file or folder and paste the path into the terminal.

Simply drag and drop the file or folder into the terminal and you’ll see the full path pasted in single quotes. This is useful if your file path contains special characters or you don’t want to type it …

[Quick Tip] Drag and drop the paste file / folder path into the terminal

2. Drag and drop the selected text onto the terminal.

You can also drag and drop selected text into the terminal without having to copy and paste using context menu clicks or keyboard shortcuts.

[Quick Tip] Drag and drop the paste file / folder path into the terminal

Sidebar