HOWTO copy and paste under posix systems - binbash23/p GitHub Wiki

If you want to use the copy&paste features in ubuntu (or any other posix system) you have to install some dependencies:

You need to install "python3-pyperclip" and "xclip"

> sudo apt-get install python3-pyperclip xclip

Then you can take advantage of the p commands that copy passwords and logins to the clipboard like for example: sca