{"id":202049,"date":"2020-10-10T08:17:51","date_gmt":"2020-10-10T00:17:51","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=202049"},"modified":"2020-09-27T09:22:38","modified_gmt":"2020-09-27T01:22:38","slug":"windows-linux-code","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/windows-linux-code.html","title":{"rendered":"\u544a\u8bc9\u4f60\u51e0\u4e2aWindows\u4e0b\u5199\u4ee3\u7801\u6bd4Linux\u8fd8\u987a\u624b\u7684\u5de5\u5177"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u90fd\u8bf4\u5bf9\u7a0b\u5e8f\u5458\u800c\u8a00\uff0cMac\u548cLinux\u7cfb\u7edf\u6bd4Windows\u66f4\u53cb\u597d\uff0c\u4f46Windows\u7cfb\u7edf\u4e0b\u4e5f\u6709\u8d85\u597d\u7528\u7684\u5199\u4ee3\u7801\u5de5\u5177!\u597d\u9a6c\u914d\u597d\u978d\uff0c\u4e00\u4e2a\u9ad8\u6548\u7387\u3001\u529f\u80fd\u5f3a\u5927\u7684\u5de5\u5177\u80fd\u8ba9\u4f60\u4e8b\u534a\u529f\u500d\uff0c\u751f\u4ea7\u529b\u5927\u5e45\u63d0\u5347!\u672c\u6587\u7ee7\u7eed\u5206\u4eab\u4e00\u4e9b\u7f51\u6613\u8d44\u6df1\u5de5\u7a0b\u5e08\u7684\u5e38\u7528\u5de5\u5177<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
1.Terminus<\/strong><\/div>\n

\u4f5c\u4e3a\u4e00\u540d\u7a0b\u5e8f\u733f\uff0c\u4e00\u4e2a\u8d81\u624b\u7684\u7ec8\u7aef\u8f6f\u4ef6\u662f\u5fc5\u987b\u7684!Terminus \u5c31\u662f\u6211\u5728 Windows \u4e0b\u73a9\u8fc7\u7684\u989c\u503c\u6bd4\u8f83\u9ad8\uff0c\u53ef\u81ea\u5b9a\u4e49\u7a0b\u5ea6\u5f88\u9ad8\u7684\u4e00\u6b3e\u7ec8\u7aef\u8f6f\u4ef6\u3002<\/p>\n

\u9664\u4e86\u6700\u5e38\u89c1\u7684\u900f\u660e\u5ea6\uff0c\u989c\u8272\u7b49\u5916\u89c2\u8bbe\u7f6e\u4e4b\u5916\uff0cTerminus \u8fd8\u5141\u8bb8\u8bbe\u7f6e\u7c7b\u4f3c iOS \u7684\u6bdb\u73bb\u7483\u6a21\u7cca\u6548\u679c\uff0c\u800c\u4e14\uff0c\u56e0\u4e3a\u5b83\u662f\u57fa\u4e8e Electron \u5f00\u53d1\u7684\uff0c\u56e0\u6b64\uff0c\u4f60\u751a\u81f3\u53ef\u4ee5\u5728 Terminus \u4e2d\u6253\u5f00 F12 \u8fdb\u884c css \u6837\u5f0f\u7f16\u5199\uff0c\u6253\u9020\u72ec\u4e00\u65e0\u4e8c\u7684\u5c5e\u4e8e\u4f60\u81ea\u5df1\u7684\u7ec8\u7aef\u6837\u5f0f\u3002<\/p>\n

\"\"<\/p>\n

Terminus \u8fd8\u6709\u4e00\u4e2a\u7279\u522b\u65b9\u4fbf\u7684\u5206\u5c4f\u529f\u80fd\uff0c\u4f60\u5373\u53ef\u4ee5\u4f7f\u7528\u7c7b\u4f3c Chrome \u6807\u7b7e\u9875\u7684\u5f62\u5f0f\u6253\u5f00\u591a\u4e2a\u7ec8\u7aef\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u5feb\u6377\u952e\u5728\u540c\u4e00\u4e2a tab \u9875\u4e2d\u8fdb\u884c\u5206\u5c4f\u3002 Ctrl + Shift + D \u662f\u6a2a\u5411\u5206\u5c4f\uff0cCtrl + Shift + E \u662f\u7eb5\u5411\u5206\u5c4f\uff0c\u53ea\u8981\u4f60\u613f\u610f\uff0c\u4f60\u53ef\u4ee5\u5728\u4e00\u4e2a tab \u9875\u4e2d\u6253\u5f00\u65e0\u6570\u4e2a\u7ec8\u7aef\u3002<\/p>\n

\"\"<\/p>\n

\u6b64\u5916\uff0cTerminus \u8fd8\u6709\u4e00\u4e2a\u975e\u5e38\u65b9\u4fbf\u7684 ssh \u529f\u80fd\uff0c\u5bf9\u4e8e\u7ecf\u5e38\u9700\u8981\u767b\u5f55\u5404\u79cd\u670d\u52a1\u5668\u7684\u540e\u7aef\u540c\u5b66\u6765\u8bf4\uff0c\u53ef\u4ee5\u514d\u53bb\u7e41\u7410\u7684\u8f93\u5165\u4e3b\u673a\/\u5e10\u53f7\u7b49\u8fc7\u7a0b\uff0c\u53ea\u8981\u914d\u7f6e\u597d\u94fe\u63a5\u4e4b\u540e\uff0c\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u6309\u94ae\uff0c\u4fbf\u53ef\u4ee5\u5728\u51fa\u73b0\u7684\u83dc\u5355\u4e2d\u8fdb\u884c\u9009\u62e9\uff0c\u76f4\u63a5\u767b\u5f55\u3002<\/p>\n

2.Psysh<\/strong><\/div>\n

\u8981\u8bf4\u6211\u4f5c\u4e3a\u4e00\u540d PHP \u733f\u6700\u7fa1\u6155\u7684\u662f\u4ec0\u4e48\uff0c\u90a3\u5f53\u7136\u662f\u50cf node\/python \u4e00\u6837\u529f\u80fd\u5f3a\u5927\u7684 REPL \u73af\u5883\u3002\u867d\u7136\u5728 PHP 5.1 \u4e4b\u540e\u5f15\u5165\u4e86\u4e00\u4e2a\u53eb\u505a interactive mode \u7684 cli \u6a21\u5f0f\uff0c\u4f46\u662f\u7528\u8d77\u6765\u59cb\u7ec8\u4e0d\u50cf\u662f node\/python \u8fd9\u4e9b\u5185\u7f6e\u7684 REPL \u73af\u5883\u987a\u624b\uff0c\u800c Psysh\uff0c\u5c31\u89e3\u51b3\u4e86\u8fd9\u4e00\u4e2a\u95ee\u9898\uff0c\u800c\u4e14\u8fd8\u662f\u8d85\u7ea7\u52a0\u500d\u7684\u52a0\u5f3a\u7248\u3002<\/p>\n

\u5b83\u53ef\u4ee5\u8bfb\u6587\u6863\uff1a<\/p>\n

\"\"<\/p>\n

\u4e5f\u53ef\u4ee5\u67e5\u770b\u7c7b\u5b9a\u4e49\uff1a<\/p>\n

\"\"<\/p>\n

\u8fd8\u53ef\u4ee5\u67e5\u770b\u4e0a\u4e00\u6b21\u5f02\u5e38\u7684\u539f\u56e0\u4ee5\u53ca\u5806\u6808\u4fe1\u606f\uff1a<\/p>\n

\"\"<\/p>\n

\u5f53\u7136\uff0c\u8fd9\u4e9b\u53ea\u662f Psysh \u8bb8\u8bb8\u591a\u591a\u529f\u80fd\u4e2d\u4e2a\u4eba\u6bd4\u8f83\u5e38\u7528\u7684\u51e0\u4e2a\uff0c\u5176\u4f59\u7684\u53ef\u4ee5\u81ea\u884c\u4e86\u89e3\u3002<\/p>\n

3.Cmder<\/strong><\/div>\n

\u867d\u7136\u5bf9\u4e8e\u5f00\u53d1\u7801\u5b57\u8005\u6765\u8bf4\uff0cMac\u548cLinux\u7cfb\u7edf\u663e\u7136\u8981\u6bd4Windows\u66f4\u53cb\u597d\u66f4\u8d34\u5fc3\uff0c\u4f46\u5176\u5b9eWindows\u7cfb\u7edf\u4e0b\u4e5f\u662f\u6709\u4e0d\u5c11\u5b9e\u7528\u7684\u5229\u5668\u7684\u3002Cmder\u5c31\u662f\u6211\u8ba4\u4e3aWindows\u7cfb\u7edf\u4e0b\u5fc5\u5907\u7684\u6548\u7387\u5de5\u5177\uff0c\u867d\u7136\u6ca1\u6709oh-my-zsh\u90a3\u4e48\u9006\u5929\uff0c\u5374\u4e5f\u5341\u5206\u987a\u624b\uff0c\u81f3\u5c11\u6bd4Windows\u539f\u751fCmd\u597d\u7528\u5f88\u591a\u3002<\/p>\n

\"\"<\/p>\n

Cmder \u529f\u80fd\u975e\u5e38\u5f3a\u5927\uff0c\u529f\u80fd\u4e5f\u76f8\u5f53\u591a;<\/p>\n

\"\"<\/p>\n

\u5b83\u5176\u5b9e\u7ed3\u5408\u4e86\u591a\u5957\u8f6f\u4f53\uff0c\u5176\u4e2d\u5305\u62ecmsysgit\u4e0e\u6700\u91cd\u8981\u7684ConEmu\u4e0eClink\u8f6f\u4f53\u3002msysgit\u9664\u4e86\u63d0\u4f9bGit for Windows \u76f8\u5173\u5de5\u5177\u5916\uff0c\u8fd8\u63d0\u4f9b\u4e86\u591a\u5957Unix\/Linux \u73af\u5883\u4e0b\u5e38\u7528\u7684\u6307\u4ee4\u5217\u5de5\u5177\uff0c\u4f8b\u5982less, ls, tar, unzip, md5sum, grep, sed, \u2026 \u7b49\u591a\u5957\u5de5\u5177\uff0c\u5149\u662fgrep\u5c31\u6bd4Windows \u5185\u5efa\u7684findstr \u5f3a\u8bb8\u591a\u3002<\/p>\n

Clink \u5c06GNU Readline \u51fd\u5f0f\u5e93\u6574\u5408\u8fdb\u539f\u751f\u7684Windows \u547d\u4ee4\u63d0\u793a\u5b57\u5143\u89c6\u7a97\uff0c\u63d0\u4f9b\u547d\u4ee4\u5217\u6a21\u5f0f\u4e0b\u5f3a\u5927\u7684\u7f16\u8f91\u4e0e\u8f93\u5165\u80fd\u529b\uff0c\u8fd9\u4e5f\u662f\u7528\u4e86cmder \u4e4b\u540e\u5f88\u50cf\u5728Linux \u73af\u5883\u4e0b\u4f7f\u7528\u7684\u611f\u89c9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u4f5c\u4e3a\u4e00\u540d\u7a0b\u5e8f\u733f\uff0c\u4e00\u4e2a\u8d81\u624b\u7684\u7ec8\u7aef\u8f6f\u4ef6\u662f\u5fc5\u987b\u7684!Terminus \u5c31\u662f\u6211\u5728 Windows \u4e0b\u73a9\u8fc7\u7684\u989c\u503c\u6bd4\u8f83\u9ad8\uff0c\u53ef […]<\/p>\n","protected":false},"author":1920,"featured_media":195492,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-202049","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/202049","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\/1920"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=202049"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/202049\/revisions"}],"predecessor-version":[{"id":202083,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/202049\/revisions\/202083"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/195492"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=202049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=202049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=202049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}