Answer the question
In order to leave comments, you need to log in
How to remove line break when copying to clipboard (echo, cut, xclip)?
There was a need to copy the output from the command to the clipboard. Created the following command:
echo -n "foobar" | sha256sum | cut -c1-64 | xclip -filter -selection clipboard
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question