in osx we have pbcopy & pbpaste
we can have something similar in linux. Put this is your shell profile (~/.bashrc or ~/.zshrc if you are using zsh)
~/.bashrc
~/.zshrc
alias pbcopy='xclip -selection clipboard' alias pbpaste='xclip -selection clipboard -o'
Last updated 4 years ago