xclip

Today I found an interesting program, xclip. It could access the X
clipboard from command line.
It makes the command line life much easier, for example, I have
alias -g C=’ |tee > (xclip) ‘
in my .zshrc. Thus a command like
ls C
will make the file listing of current PWD into the clipboard, and ready to be paste elsewhere […]

Close
E-mail It