Question : mac terminal copy to clipboard
Answered by : mysterious-mantis-2t9yeiqzzhwz
# example for copying your public key to clipboard
cat ~/.ssh/id_rsa.pub | pbcopy
Source : | Last Update : Sun, 06 Nov 22
Question : copy from terminal to clipboard
Answered by : nathan-no-sudo
$ pbcopy < ~/.ssh/id_ed25519.pub
# Copies the contents of the id_ed25519.pub file to your clipboard
Source : https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account | Last Update : Fri, 28 May 21
Question : terminal copy clipboard to file
Answered by : matteo-delfavero
cat > /path/to/file.txt
after this the terminal waits user input, so you can paste from your clipboard:
Ctrl + Shift + v
Then press Enter
And exit cat with Ctrl + c
Source : | Last Update : Sun, 13 Nov 22
Question : how to copy in terminal
Answered by : the-stanliest-stanley
{"tags":[{"tag":"p","content":"Select text with mouse and use"},{"tag":"textarea","content":"Ctrl + Shift + C\n# or\nCtrl + Insert","code_language":"shell"}]}
Source : | Last Update : Fri, 13 Jan 23