# Xclip ## TL;DR ```sh xclip -selection clipboard < file ``` ## Sources - [copy the contents of a file into the clipboard without displaying its contents] [copy the contents of a file into the clipboard without displaying its contents]: https://unix.stackexchange.com/questions/211817/copy-the-contents-of-a-file-into-the-clipboard-without-displaying-its-contents#211826