今使っているDockerコンテナでファイル内容をコピペしようとしたときのことです。
Macだとpbcopyでファイル内容のコピペができます。
$ pbcopy < helloworld.txt
// pbcopy < コピーしたいファイル
Ubuntuだとxselを使うといいです。
$ apt-get -y install xsel
$ xsel -b < helloworld.cpp
// xsel -b < コピーしたいファイル
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 3 years have passed since last update.
今使っているDockerコンテナでファイル内容をコピペしようとしたときのことです。
Macだとpbcopyでファイル内容のコピペができます。
$ pbcopy < helloworld.txt
// pbcopy < コピーしたいファイル
Ubuntuだとxselを使うといいです。
$ apt-get -y install xsel
$ xsel -b < helloworld.cpp
// xsel -b < コピーしたいファイル
Register as a new user and use Qiita more conveniently
Go to list of users who liked