Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Traditionally in bash if you wanted to copy/paste a word you would hover the mouse above the source word and double click to select that word. In newer (at least debian based) installs I have found that if that word is followed by a colon then the colon is also included in what has been selected.
For example:
if I hovered the mouse above "nobody" and double right click, "nobody" was selected ...
If I now do the same thing in 4.9.0-264-antix.1-amd64-smp (and several others) the whole line is selected...
How can I delimit what is selected by considering the colon as if it were a space like in the good old days?
additionally: double click selects word, triple click selects the whole line (probably it depends on the emulator too).
as it was mentioned you can specify word delimiters, which can influence how double click works (also depends on the emulator).
Especially if you remove colon from this list double click will select the whole line (of /etc/passwd).
You can also, in most terminal emulators, use a left-click and hold to drag the highlight for what you want to copy (instead of hovering) then once highlighted a right click should bring up a menu to select copy.
You can also, in most terminal emulators, use a left-click and hold to drag the highlight for what you want to copy (instead of hovering) then once highlighted a right click should bring up a menu to select copy.
That's complicated, left, drag, right, left, double right is the speed freak's preference. Not that I care or do that.
EDIT: I consider myself complex, as such I go the complicated route
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.