Created
August 21, 2020 00:03
-
-
Save cweedall/b047b4a4ccdfdf4de14dec7024506564 to your computer and use it in GitHub Desktop.
Using `xsel` to copy + paste contents of entire file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install if needed! | |
apt-get install xsel | |
# Contents piped from file into xsel buffer (can then be pasted elsewhere) | |
cat FILENAME | xsel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment