sudo apt-get install xclipThen
ls | xclip -selection clipboardwill copy the output of ls into the clipboard.
I use an alias in my .bashrc for it:
alias c='xclip -selection clipboard'So the command becomes:
ls | c
sudo apt-get install xclipThen
ls | xclip -selection clipboardwill copy the output of ls into the clipboard.
alias c='xclip -selection clipboard'So the command becomes:
ls | c
No comments:
Post a Comment