linux \u590d\u5236\u5feb\u6377\u952e<\/strong>\uff0c\u7d27\u63a5\u7740\u662f\u6e90\u6587\u4ef6\u548c\u76ee\u6807\u4f4d\u7f6e\uff0c\u6587\u4ef6\u4fbf\u4f1a\u88ab\u590d\u5236\u3002\u6bd4\u5982\uff0c\u5904\u7406\u6587\u6863\u65f6\uff0c\u7528\u8fd9\u4e2a\u6307\u4ee4\u5c31\u80fd\u8f7b\u677e\u5730\u5907\u4efd\u5173\u952e\u6587\u4ef6\u3002\u82e5\u9700\u590d\u5236\u6574\u4e2a\u6587\u4ef6\u5939\uff0c\u53ea\u9700\u52a0\u5165\u201c-r\u201d\u53c2\u6570\uff0c\u8fd9\u6837\u590d\u5236\u591a\u7ea7\u6587\u4ef6\u7ed3\u6784\u5c31\u53d8\u5f97\u7b80\u5355\u6613\u884c\u3002\u8fd9\u6837\u7684\u64cd\u4f5c\u80fd\u5feb\u901f\u5728\u4e0d\u540c\u6587\u4ef6\u5939\u95f4\u8f6c\u79fb\u6570\u636e\uff0c\u786e\u4fdd\u6570\u636e\u5907\u4efd\u548c\u5206\u5e03\u7ba1\u7406\u5f97\u5f53\u3002<\/p>\n\u5904\u7406\u4f17\u591a\u6587\u4ef6\u6216\u6570\u636e\u65f6\uff0c\u6b64\u547d\u4ee4\u5c24\u4e3a\u9ad8\u6548\u3002\u65e0\u9700\u8fdb\u884c\u7e41\u7410\u7684\u56fe\u5f62\u64cd\u4f5c\uff0c\u4ec5\u9700\u5728\u547d\u4ee4\u884c\u5373\u53ef\u8f7b\u677e\u5b8c\u6210\u3002\u975e\u5e38\u9002\u5408\u7528\u4e8e\u8fdc\u7a0b\u670d\u52a1\u5668\u7684\u64cd\u4f5c\u3002<\/p>\n
<\/p>\n
\u6587\u672c\u590d\u5236\u7c98\u8d34<\/b><\/p>\n
\u5728Vim\u8fd9\u6837\u7684\u6587\u672c\u7f16\u8f91\u5668\u91cc\uff0c\u590d\u5236\u64cd\u4f5c\u4e5f\u6709\u5feb\u6377\u65b9\u5f0f\u3002\u5728\u547d\u4ee4\u6a21\u5f0f\u4e0b\uff0c\u201cy\u201d\u952e\u5c31\u662f\u7528\u6765\u590d\u5236\u7684\u3002\u6bd4\u5982\uff0c\u9009\u4e2d\u4e00\u884c\u6587\u5b57\u540e\uff0c\u628a\u5149\u6807\u653e\u5728\u90a3\u4e00\u884c\uff0c\u6309\u201cy\u201d\u952e\u5c31\u5b9e\u73b0\u4e86\u590d\u5236\u3002\u82e5\u8981\u590d\u5236\u591a\u884c\uff0c\u53ea\u9700\u5728\u201cy\u201d\u524d\u52a0\u4e0a\u6570\u5b57\uff0c\u6bd4\u5982\u201c3y\u201d\u5c31\u80fd\u590d\u5236\u4e09\u884c\u3002\u8fd9\u79cd\u64cd\u4f5c\u5bf9\u7a0b\u5e8f\u5458\u6765\u8bf4\u975e\u5e38\u5b9e\u7528\uff0c\u65e2\u80fd\u5feb\u901f\u4fee\u6539\u4ee3\u7801\u5757\uff0c\u4e5f\u80fd\u5907\u4efd\u5173\u952e\u4ee3\u7801\u7247\u6bb5\uff0c\u4ece\u800c\u52a0\u5feb\u7f16\u7a0b\u5f00\u53d1\u901f\u5ea6\uff0c\u51cf\u5c11\u91cd\u590d\u8f93\u5165\u4ee3\u7801\u7684\u7e41\u7410\u3002<\/p>\n
\u5bf9\u4e8e\u90a3\u4e9b\u4e60\u60ef\u4e8e\u5728\u547d\u4ee4\u884c\u4e2d\u7f16\u8f91\u6587\u672c\u7684\u4eba\u6765\u8bf4\uff0c\u8fd9\u4e9b\u5feb\u6377\u952e\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u4ed6\u4eec\u7684\u529e\u516c\u6216\u5f00\u53d1\u6548\u7387\u3002\u5b83\u4eec\u4e0d\u4ec5\u7b80\u5316\u4e86\u64cd\u4f5c\u6d41\u7a0b\uff0c\u800c\u4e14\u4f7f\u5f97\u5de5\u4f5c\u66f4\u52a0\u9ad8\u6548\u3002<\/p>\n
<\/p>\n
Xclip\u5de5\u5177<\/b><\/p>\n
Xclip\u662f\u4e2a\u975e\u5e38\u5b9e\u7528\u7684\u5de5\u5177\u3002\u5b83\u53ef\u4ee5\u8ba9\u4f60\u5728\u547d\u4ee4\u884c\u590d\u5236\u7684\u5185\u5bb9\uff0c\u8f7b\u677e\u5730\u7c98\u8d34\u5230\u56fe\u5f62\u754c\u9762\u7684\u8f6f\u4ef6\u91cc\u3002\u5b89\u88c5\u540e\uff0c\u5728\u547d\u4ee4\u884c\u590d\u5236\u5b8c\u5185\u5bb9\uff0c\u53ea\u9700\u8f93\u5165\u201cxclip-selclip\u201d\uff0c\u5c31\u80fd\u5c06\u5b83\u8f6c\u79fb\u5230\u7cfb\u7edf\u526a\u8d34\u677f\u3002\u8fd9\u6837\uff0c\u6211\u4eec\u5728\u4e0d\u540c\u754c\u9762\u95f4\u4f20\u8f93\u6570\u636e\u5c31\u53d8\u5f97\u7b80\u5355\u591a\u4e86\u3002\u6bd4\u5982\uff0c\u590d\u5236\u4e00\u4e9b\u7f51\u5740\u6216\u5bc6\u7801\uff0c\u5c31\u80fd\u65b9\u4fbf\u5730\u7c98\u8d34\u5230\u6d4f\u89c8\u5668\u6216\u767b\u5f55\u754c\u9762\u3002<\/p>\n
\u5b9e\u9645\u4e0alinux\u8ba4\u8bc1\uff0c\u8fd9\u4e00\u6539\u8fdb\u6d88\u9664\u4e86Linux\u7cfb\u7edf\u4e0b\u547d\u4ee4\u884c\u4e0e\u56fe\u5f62\u754c\u9762\u4e4b\u95f4\u7684\u4ea4\u6d41\u969c\u788d\uff0c\u6781\u5927\u5730\u63d0\u5347\u4e86\u6211\u4eec\u7684\u4f7f\u7528\u4fbf\u6377\u6027\u3002<\/p>\n
\u9f20\u6807\u64cd\u4f5c\u590d\u5236<\/b><\/p>\n
\u5728\u62e5\u6709\u56fe\u5f62\u754c\u9762\u7684Linux\u7cfb\u7edf\u4e2d\uff0c\u9f20\u6807\u540c\u6837\u80fd\u5b8c\u6210\u590d\u5236\u4efb\u52a1\u3002\u901a\u5e38\uff0c\u7528\u6237\u53ea\u9700\u53f3\u51fb\u5e76\u9009\u62e9\u590d\u5236\u9009\u9879\uff0c\u8fd9\u4e00\u64cd\u4f5c\u4e0eWindows\u7cfb\u7edf\u9887\u4e3a\u76f8\u4f3c\uff0c\u4e0a\u624b\u8d77\u6765\u8f83\u4e3a\u8f7b\u677e\u3002\u5bf9\u4e8e\u90a3\u4e9b\u4eceWindows\u8fc1\u79fb\u81f3Linux\u7cfb\u7edf\u7684\u7528\u6237\u6765\u8bf4\uff0c\u8fd9\u79cd\u65b9\u6cd5\u5c24\u4e3a\u53cb\u597d\u3002\u6b64\u5916\uff0c\u5728\u6267\u884c\u7b80\u5355\u7684\u6587\u4ef6\u590d\u5236\u7c98\u8d34\u4efb\u52a1\u65f6\uff0c\u6548\u7387\u4e5f\u76f8\u5bf9\u8f83\u9ad8\u3002<\/p>\n
\u7136\u800c\uff0c\u5728\u5904\u7406\u67d0\u4e9b\u7279\u6b8a\u6587\u4ef6\u6216\u590d\u6742\u60c5\u51b5\u65f6\uff0c\u9f20\u6807\u64cd\u4f5c\u663e\u5f97\u4e0d\u591f\u4fbf\u6377\uff0c\u6548\u7387\u4e5f\u4e0d\u5982\u547d\u4ee4\u884c\u9ad8\u3002<\/p>\n
<\/p>\n
\u590d\u5236\u5230\u8fdc\u7a0b\u673a\u5668<\/b><\/p>\n
\u6709\u65f6\uff0c\u6211\u4eec\u5f97\u5c06\u672c\u5730\u7684\u6587\u4ef6\u62f7\u8d1d\u81f3\u8fdc\u7aef\u8bbe\u5907\u3002\u8fd9\u65f6\uff0c\u201cscp\u201d\u547d\u4ee4\u5c31\u80fd\u6d3e\u4e0a\u7528\u573a\u3002\u6bd4\u5982LINUX \u5220\u9664\u76ee\u5f55\uff0c\u8f93\u5165\u201cscplocalfileusername@remoteip:path\u201d\uff0c\u5c31\u80fd\u5b9e\u73b0\u5c06\u672c\u5730\u6587\u4ef6\u4f20\u8f93\u5230\u6307\u5b9a\u7684\u8fdc\u7aef\u8def\u5f84\u3002\u8fd9\u6837\u7684\u64cd\u4f5c\u5bf9\u4e8e\u8fdc\u7a0b\u670d\u52a1\u5668\u7684\u7ba1\u7406\u3001\u6570\u636e\u7684\u90e8\u7f72\u7b49\u81f3\u5173\u91cd\u8981\u3002\u670d\u52a1\u5668\u8fd0\u7ef4\u4eba\u5458\u5e38\u5e38\u9700\u8981\u6267\u884c\u6b64\u7c7b\u64cd\u4f5c\uff0c\u4ee5\u4fbf\u5c06\u4ee3\u7801\u6216\u914d\u7f6e\u6587\u4ef6\u66f4\u65b0\u81f3\u670d\u52a1\u5668\u3002<\/p>\n
\u5728\u5b89\u5168\u9886\u57df\uff0c\u201cscp\u201d\u7cfb\u7edf\u5b9e\u73b0\u4e86\u6570\u636e\u7684\u52a0\u5bc6\u4f20\u8f93\uff0c\u4ece\u800c\u4fdd\u969c\u4e86\u6570\u636e\u5728\u7f51\u7edc\u4e2d\u4f20\u8f93\u65f6\u7684\u5b89\u5168\u3002<\/p>\n
<\/p>\n
\u591a\u6587\u4ef6\u590d\u5236<\/b><\/p>\n
\u9762\u5bf9\u4f17\u591a\u6587\u4ef6\u9700\u590d\u5236\u7684\u60c5\u5f62\uff0c\u901a\u914d\u7b26\u80fd\u5927\u5927\u7b80\u5316\u64cd\u4f5c\u6d41\u7a0b\u3002\u6bd4\u5982\uff0c\u8f93\u5165\u201ccp*.txtnewpath\u201d\u547d\u4ee4\uff0c\u4fbf\u80fd\u5c06\u5f53\u524d\u76ee\u5f55\u4e0b\u6240\u6709txt\u6587\u4ef6\u4fbf\u6377\u5730\u590d\u5236\u5230\u201cnewpath\u201d\u6587\u4ef6\u5939\u3002\u6b64\u6cd5\u5728\u5904\u7406\u5927\u91cf\u6570\u636e\u65f6\u5c24\u4e3a\u9ad8\u6548\uff0c\u8bf8\u5982\u65e5\u5fd7\u6587\u4ef6\u7684\u590d\u5236\u5907\u4efd\u7b49\u4efb\u52a1\uff0c\u4fbf\u80fd\u8f7b\u677e\u5b8c\u6210\u3002<\/p>\n
\u5982\u679c\u4e0d\u4f7f\u7528\u8fd9\u4e9b\u6280\u5de7\uff0c\u4e00\u4e2a\u4e00\u4e2a\u53bb\u590d\u5236\u4f1a\u975e\u5e38\u8017\u8d39\u65f6\u95f4\u7cbe\u529b\u3002<\/p>\n
\u5728\u4f7f\u7528Linux\u7cfb\u7edf\u590d\u5236\u5feb\u6377\u952e\u65f6linux \u590d\u5236\u5feb\u6377\u952e<\/strong>\uff0c\u4f60\u662f\u5426\u9047\u5230\u8fc7\u5404\u79cd\u95ee\u9898\uff1f\u6b22\u8fce\u70b9\u8d5e\u5e76\u5206\u4eab\u8fd9\u7bc7\u6587\u7ae0\uff0c\u540c\u65f6\u5728\u8bc4\u8bba\u533a\u5c55\u5f00\u8ba8\u8bba\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Linux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u590d\u5236\u6587\u4ef6\u6216\u6587\u672c\u6709\u4e13\u95e8\u7684\u5feb\u6377\u65b9\u5f0f\uff0c\u8fd9\u5bf9\u63d0\u5347\u6211\u4eec\u7684\u64cd\u4f5c\u901f\u5ea6\u81f3\u5173\u91cd\u8981\u3002\u5728Vim\u8fd9\u6837\u7684\u6587\u672c\u7f16\u8f91\u5668\u91cc\uff0c\u590d\u5236\u64cd\u4f5c\u4e5f\u6709\u5feb\u6377\u65b9\u5f0f\u3002\u5bf9\u4e8e\u90a3\u4e9b\u4e60\u60ef\u4e8e\u5728\u547d\u4ee4\u884c\u4e2d\u7f16\u8f91\u6587\u672c\u7684\u4eba\u6765\u8bf4\uff0c\u8fd9\u4e9b\u5feb\u6377\u952e\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u4ed6\u4eec\u7684\u529e\u516c\u6216\u5f00\u53d1\u6548\u7387\u3002<\/p>\n","protected":false},"author":1,"featured_media":294439,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[3913,2771,4344,155,4345],"class_list":["post-294438","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-jcml","tag-fzwj","tag-kjfs","tag-155","tag-yckb"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=294438"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294438\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/294439"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=294438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=294438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=294438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}