alias ctrlc='xclip -selection clipboard -i' alias ctrlv='xclip -selection clipboard -o'
Examples:
# copy something without opening editors or showing it in terminal cat ~/.ssh/mykey.pub | ctrlc # paste clipboard somewhere ctrlv >> ~/.ssh/known_hosts ctrlv | tr '[:upper:]' '[:lower:]' ctrlv | tr -d "\n" ctrlv | base64 -d ctrlv | base64 ctrlv | md5sum cat myfile | base64 | ctrlc cat myfile | md5sum | ctrlc ctrlv | base64 | ctrlc ctrlv | base64 -d | ctrlc
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Examples: