clipboard integration -- possible security implications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tony Baechler <tony at baechler.net> wrote:
> but I can think of cases where one would want a permanent 
> copy in a file for use later.  Just one example might be in cases where 
> the machine needs to be rebooted (like a kernel upgrade) and a command 
> needs to be run after the reboot which was copied into the clipboard.  

Here's one way to do that.

* Make a selection.
* Cut.
* execute cat > stuff.txt
* Paste.
* Hit ctrl-d to indicate end-of-file.
* Voila!

-- Chris



[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux