今使っている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
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