pbcopy alternative for copying to clipboard

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)
alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'