Can I copy text to the clipboard from one file by shell? and I want to paste it to Browser later.
This question came from our site for system and network administrators.
You want xclip.
$ xclip -i -selection clipboard <<< "*foo bar*"
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3 years ago