Mon, 17 Sep 2007
Command of the Day
I will probably show my own level of ignorance here, but let me show you an useful utility which can improve the integration of the command line and desktop:
Meet xclip
,
a command-line utility for manipulating X11 selections from the command line.
If you wondered how text with tabs (such as diff(1)
output)
could be copied and pasted using X11, here it is:
diff -u old.file new.file | xclip
There are more options (such as reading the selection from the command line). Hope this helps (seen in this article at KernelTrap).