Fight the Future

Java言語とJVM、そしてJavaエコシステム全般にまつわること

Linuxでpbpaste、pbcopyを使う。

$ sudo ap-get install xclip

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

ちなみに、Ubuntuの端末でカーソルを使ってコピペするには。

Ubuntuの端末(コマンドライン)でコピー&ペースト(貼り付け)する方法

端末(コマンドライン)でコピー

「Ctrl」+「Shift」+「c」
端末(コマンドライン)でペースト(貼り付け)

「Ctrl」+「Shift」+「v」

http://www.miuxmiu.com/archives/2010/12/10/linux_ubuntu_gnome_terminal_command_line_copy_paste.html