Hello,
I was wondering if there is a way to direct something from/to the clipboard from command line.
For example, do something like:
Any ideas?Code:cat mylongfile.txt > <clipboard>
Thanks in advance
Hello,
I was wondering if there is a way to direct something from/to the clipboard from command line.
For example, do something like:
Any ideas?Code:cat mylongfile.txt > <clipboard>
Thanks in advance
I don't know of one but copy and paste do work in the terminal. Select as you normaly would and <shift><Ctrl>C or <shift><Ctrl>V.
Thank a veteran -- George 8)
Internet Coach & Writer
Personal Blog -- 3 Joes' Blog
Install xclip..
Code:sudo apt-get install xcliporCode:xclip < mylongfile.txt
Edit: Some more info on xclipCode:cat mylongfile.txt | xclip
Last edited by kellemes; February 22nd, 2009 at 10:37 PM.
Thanks -- xclip will be handy to have around.
Thank a veteran -- George 8)
Internet Coach & Writer
Personal Blog -- 3 Joes' Blog
Thanks, xclip is what I was looking for!
Bookmarks