So I use ls command to list all the files in a folder. There's one with very long name that I don't want to retype it. Is there anyway I can select the text and copy/paste it without a mouse, or maybe do something like rolling to read after use --help option?
-
-
Hello there,
Here's what you can do:
For content that's in the clip board, you can paste it to the terminal via the Ctrl + Shift + V combination.
To copy the path to the clipboard, you can do something like this:
cd /full-path
pwd | xclip -sel clip
Then paste said content to the required terminal via the Ctrl+Shift+V combo. -
Besides @Dennismungai's helpful suggestion, is there a wildcard you could use to 'shorten' the name?
Vasudev likes this. -
alexhawker and jclausius like this.
Is it possible to select and copy text in terminal without a mouse?
Discussion in 'Linux Compatibility and Software' started by jimmyrazor, Oct 14, 2018.