Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tmatz/33d5bd7d770539244d9c to your computer and use it in GitHub Desktop.
Save tmatz/33d5bd7d770539244d9c to your computer and use it in GitHub Desktop.

ubuntu のターミナルでクリップボードを使う方法

sudo apt-get install xsel

コピー

echo hogehoge | xsel --clipboard --input

ペースト

xsel --clipboard --output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment