今使っているDockerコンテナでファイル内容をコピペしようとしたときのことです。
Macだとpbcopy
でファイル内容のコピペができます。
$ pbcopy < helloworld.txt
// pbcopy < コピーしたいファイル
Ubuntuだとxsel
を使うといいです。
$ apt-get -y install xsel
$ xsel -b < helloworld.cpp
// xsel -b < コピーしたいファイル
今使っているDockerコンテナでファイル内容をコピペしようとしたときのことです。
Macだとpbcopy
でファイル内容のコピペができます。
$ pbcopy < helloworld.txt
// pbcopy < コピーしたいファイル
Ubuntuだとxsel
を使うといいです。
$ apt-get -y install xsel
$ xsel -b < helloworld.cpp
// xsel -b < コピーしたいファイル