How to copy text from the terminal to the clipboard.

To copy text to the clipboard from the Linux command line in Xorg, we need to install a nice utility called xclip. This will allow us to copy text from the terminal to the clipboard. Install xclip. jason@jason-desktop:~$ sudo apt install xclipjason@jason-desktop:~$ sudo apt install xclip Then create the bash alias we need for this … Read more

How to pipe the output of a Windows command to the clipboard.

Pipe text to the clipboard from Windows CMD Apparently, there is an obscure feature in the Windows CMD prompt that allows users to pipe the output of a Windows CMD command on STDOUT to the Windows clipboard. The clip command allows this. For example. C:\Users\johnc>ipconfig | clipC:\Users\johnc>ipconfig | clip This will pipe the IP addressing … Read more