# Xclip ## Table of contents 1. [TL;DR](#tldr) 1. [Sources](#sources) ## 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