linux paste clipboard into file code example Example: xclip stdin $ echo "Some Text" | xclip -selection clipboard