copy stdin to clipboard linux code example Example: xclip stdin $ echo "Some Text" | xclip -selection clipboard