In order to minimize mouse usage (accessibility and health reasons), how can I pipe the standard out to the OS clip board?   That is, I'd like to do something like:   $ drush uli | copy-this-to-clipbaord  $ drush uli &gt; copy-this-to-clipbaord  Possible?
7697
In Windows I used command-line clipboard copy-and-paste utilities...      pclip.exe and gclip.exe     These were UnixUtils ports for Windows (but they only handled plain text). There were a couple of other native Windows utilities which could write/extract any format.    I've looked for something similar in Synaptic Package Manager, but I can't find anything.    Is there something there, that I've missed? ... or maybe this is available in Bash scripting?    The type of utility I'd like will be able to read/write via std-in/std-out or file-in/file-out, and handle Unicode, Rich Text Format, picture, etc. clipboard formats...    NB: I'm not after a clipboard manager.
45296
To get this off the table now and avoid any confusion ... This is for Linux running in Windows 10(ubunutu), also known as WSL. Its not the same as cygwin and windows or stand alone linux. It is it's own beast.  So please keep the above in mind before I am referenced with all the articles I have already read or comment that this has been asked before.  Does anyone know how to make the copy and paste work off of the windows clipboard OR the WSL Ubuntu Linux emulation? I am using set clipboard=unnamedplus. It's not working, not matter what combinations I use like yy, "+yy, etc.  Yes, it's vim-gtk with +xterm_clipboard support.
5006
My usual shell is bash, my usual terminal is xterm, on Debian Sid. Following a recent release of bash, when I use button-2 to paste some text (selected by clicking and dragging button-1) into the bash command line I have that new lines in the pasted text are, so to say, inactive and I have to give an additional newline from the keyboard to execute the pasted text. It seems to me something that Debian newly configured in bash, because if I use another shell (e.g., dash) the pasted lines are immediately executed, as it happened in bash and in all the shells I've previously used. Is it possible to revert bash behaviour to the old one?  from dpkg -l ii  bash           5.1-2        amd64        GNU Bourne Again SHell ii  xterm          363-1        amd64        X terminal emulator  from uname -a Linux debian 5.10.0-1-amd64 #1 SMP Debian 5.10.5-1 (2021-01-09) x86_64 GNU/Linux
20278
I'm looking for a program that saves the recent clipboard items (plain text would be enough) for Ubuntu 14.04.  Thanks for any help !
93601
What is the recommended method/syntax for denoting keyboard shortcuts in Stack Exchange questions and answers?  For example, how would you write the following in a less verbose manner?   Press ctrl, and press either the minus key or the equals key Ctrl or cmd, and lowercase c Ctrl, alt and a, then ctrl and uppercase l Hold ctrl or cmd while scrolling with the mouse wheel   (Well, the last one isn't strictly a keyboard shortcut)
31798
Is there any way to copy text that's shown in the Command Prompt window C:\Windows\system32\cmd.exe to the clipboard?
52470
This question has been asked many times with no answer. I've used my basic Google skills and haven't come across a fix. This is system wide. My mouse simply scrolls too fast.   I'm new to ubuntu and linux in general. Would switching styles or whatever it is called (Ubuntu, KDE, Xubuntu) help at all? Is there a terminal code I can enter?
43883
I have 2 computers (both running linux) and I'm currently using synergy to use them. This is great, but now I'm wondering, is there any way (is it possible? being worked on? tried and failed? definitely not possible?) to not only share a mouse/keyboard/clipboard between the computers, but to share an X session? What I'm thinking is being able to drag X windows between monitors.   I realize that this is extremely non-trivial to do and I know enough about linux (though not about xserver) that I'd like to pursue this idea even if there's nothing that does this for you.  Also, I don't need to be able to just "install this and it works". I'm completely willing (and would be surprised if it didn't require) to install custom kernals, or mount partitions between machines, or whatever it takes. Since I assume it would require the same instance of xorg server running on both machines.
115568
I have been trying to learn the keyboard shortcuts for the shell on macOS, but when I tried using ALT+B, it did not work.  How do you discover, configure and use keybindings in the shell? Any cheatsheets would be helpful.
90839
For example, I edit and then run the same source.   vim arbit.py python arbit.py   I know I could run it from within vim, but I want a general solution on Bash. I keep finding situations where I reuse arguments.  How can I do that?
3546
Good Afternoon,  (OS X user)  I am specifically trying to pipe the output of every shell command I type into the ruby gem 'lolcat' (which makes the output to the terminal rainbow colored).  Is there a way to do this without explicitly aliasing command individually? I was thinking perhaps there might be a way to pipe anything before the return key is pressed , but I am not sure how to do this.  Your assistance is appreciated, as I am tired of looking at just one color in my terminal.
83042
Is there a way to copy the currently written content of the bash prompt? Say I wrote:  ping www.google.com   so that the lines in terminal looks like:  petr@sova:~$ ping www.google.com   and didn't hit return yet. I want to copy that text to clipboard. Is that possible?  The usual usecase would be hitting up several times and finding a command which I want to copy.
65701
How can I scroll in bash using only the keyboard? If it's not possible in bash, are there any other shells that support this?
98523
I want to know how to select, copy the entire command from a command block (separately) and paste it into the chat or an another command block on Mac. I've already took a look to the other question similars, none of them responded at what I had in thought correctly. Thank you.
98993
How do we extend a command to the next line? Basically whats the windows alternative for Linux's ls -l \ /usr/  Here we use backslashes to extend the command onto the next lines. What's the equivalent for Windows?
114195
My current technique is to right-click in the command prompt and then click paste.  This bugs me - is there a better way?
79729
The copy-paste feature is great (and I think was only implemented recently).  I wonder though if it could be further improved by also automatically reducing the size of the image if the image is above the 2&nbsp;MB requirement? That would be even better.  Right now for images on my clipboard that are >2&nbsp;MB, I have to paste the image somewhere else, save and reduce it, and then try again.