{"id":35556,"date":"2019-07-05T09:01:35","date_gmt":"2019-07-05T09:01:35","guid":{"rendered":"https:\/\/www.cryptocabaret.com\/?p=35556"},"modified":"2019-07-05T09:01:35","modified_gmt":"2019-07-05T09:01:35","slug":"copy-and-paste-at-the-linux-command-line-with-xclip","status":"publish","type":"post","link":"https:\/\/www.cryptocabaret.com\/?p=35556","title":{"rendered":"Copy and paste at the Linux command line with xclip"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" typeof=\"foaf:Image\" src=\"https:\/\/www.cryptocabaret.com\/wp-content\/uploads\/2019\/07\/life_paperclips.png\" width=\"520\" height=\"292\" alt=\"Green paperclips\" title=\"Green paperclips\"><\/p>\n<p>How do you usually copy all or part of a text file when working on the Linux desktop? Chances are you open the file in a text editor, select all or just the text you want to copy, and paste it somewhere else.<\/p>\n<p>That works. But you can do the job a bit more efficiently at the command line using the <a href=\"https:\/\/github.com\/astrand\/xclip\" target=\"_blank\">xclip<\/a> utility. xclip provides a conduit between commands you run in a terminal window and the clipboard in a Linux graphical desktop environment.<\/p>\n<p><a href=\"https:\/\/opensource.com\/article\/19\/7\/xclip\">read more<\/a><br \/><ins class=\"adbladeads\" data-cid=\"24663-3514371590\" data-host=\"web.adblade.com\" data-tag-type=\"4\" style=\"display:none\"><\/ins><br \/>\n<script async src=\"http:\/\/web.adblade.com\/js\/ads\/async\/show.js\" type=\"text\/javascript\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How do you usually copy all or part of a text file when working on the Linux desktop? Chances are you open the file in a text editor, select all or just the text you want to copy, and paste it somewhere else. That works. But you can do the job a bit more efficiently [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":35557,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[307],"tags":[],"class_list":["post-35556","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-open-source"],"_links":{"self":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts\/35556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=35556"}],"version-history":[{"count":0,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts\/35556\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/media\/35557"}],"wp:attachment":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=35556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=35556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=35556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}