Thursday, August 1, 2024

how to pipe term output into system clipboard


echo "hello world" | xclip -selection clipboard

!! | xclip -selection clipboard

This pipes the output of the last run command into the system clipboard

No comments:

Post a Comment