Can I copy text to the clipboard from one file by shell? and I want to paste it to Browser later.
You want xclip.
$ xclip -i -selection clipboard <<< "*foo bar*"
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
1 year ago