> For the complete documentation index, see [llms.txt](https://til.yulrizka.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://til.yulrizka.com/unix/pbcopy-alternative-for-copying-to-clipboard.md).

# pbcopy alternative for copying to clipboard

in osx we have [pbcopy & pbpaste](/osx/manage-clipboard-easily-with-jumpcut.md)

we can have something similar in linux. Put this is your shell profile (`~/.bashrc` or `~/.zshrc` if you are using zsh)

```bash
alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'
```
