I have to copy the SSH Key for GitHub from id_rsa.pub. What is the clipboard utility that I could use, and what is the command line to copy to the clipboard. Done that, how to copy from the clipboard to a text file or anywhere. Please advice.
Share
If you are running the X Window System, you can use the
xcliputility.To install:
sudo apt-get install xclipTo copy:
xclip id_rsa.pubTo copy to clipboard:
xclip -o | xclip -sel clipTo paste:
xclip -o -sel clip > file.txtRead the README file in the
xclipsource for more on how to use it.