{"id":115491,"date":"2018-08-16T08:53:19","date_gmt":"2018-08-16T00:53:19","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=115491"},"modified":"2018-08-09T13:57:30","modified_gmt":"2018-08-09T05:57:30","slug":"cool-apps-terminal","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/cool-apps-terminal.html","title":{"rendered":"Linux \u4e2d 4 \u6b3e\u70ab\u9177\u7684\u7ec8\u7aef\u5e94\u7528\u7a0b\u5e8f"},"content":{"rendered":"
\u8bb8\u591a Linux \u7528\u6237\u8ba4\u4e3a\u5728\u7ec8\u7aef\u4e2d\u5de5\u4f5c\u592a\u590d\u6742\u3001\u65e0\u804a\uff0c\u5e76\u8bd5\u56fe\u9003\u907f\u5b83\u3002\u4f46\u8fd9\u91cc\u6709\u4e2a\u6539\u5584\u65b9\u6cd5 \u2014\u2014 \u56db\u6b3e\u7ec8\u7aef\u4e0b\u5f88\u68d2\u7684\u5f00\u6e90\u7a0b\u5e8f\u3002\u5b83\u4eec\u65e2\u6709\u8da3\u53c8\u6613\u4e8e\u4f7f\u7528\uff0c\u751a\u81f3\u53ef\u4ee5\u5728\u4f60\u9700\u8981\u5728\u547d\u4ee4\u884c\u4e2d\u5de5\u4f5c\u65f6\u7167\u4eae\u4f60\u7684\u751f\u6d3b\u3002<\/p>\n
\u8fd9\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u53ef\u4ee5\u91cd\u73b0 1992 \u5e74\u7535\u5f71 Sneakers<\/a>[1]<\/span> \u4e2d\u6240\u89c1\u7684\u8457\u540d\u6570\u636e\u89e3\u5bc6\u6548\u679c\u3002\u8be5\u9879\u76ee\u8ba9\u4f60\u7f16\u8bd1\u4e2a nms<\/span> \u547d\u4ee4\uff0c\u8be5\u547d\u4ee4\u4e0e\u7ba1\u9053\u6570\u636e\u4e00\u8d77\u4f7f\u7528\u5e76\u4ee5\u6df7\u4e71\u5b57\u7b26\u7684\u5f62\u5f0f\u6253\u5370\u8f93\u51fa\u3002\u5f00\u59cb\u540e\uff0c\u4f60\u53ef\u4ee5\u6309\u4efb\u610f\u952e\uff0c\u5e76\u80fd\u5728\u8f93\u51fa\u4e2d\u770b\u5230\u5f88\u9177\u7684\u597d\u83b1\u575e\u6548\u679c\u7684\u73b0\u573a\u201c\u89e3\u5bc6\u201d\u3002<\/p>\n <\/p>\n \u4e00\u4e2a\u5168\u65b0\u5b89\u88c5\u7684 Fedora Workstation \u7cfb\u7edf\u5df2\u7ecf\u5305\u542b\u4e86\u4ece\u6e90\u4ee3\u7801\u6784\u5efa No More Secrets \u6240\u9700\u7684\u4e00\u5207\u3002\u53ea\u9700\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n \u5bf9\u4e8e\u90a3\u4e9b\u8bb0\u5f97\u539f\u6765\u7684\u7535\u5f71\u7684\u4eba\u6765\u8bf4\uff0csneakers<\/span> \u547d\u4ee4\u662f\u4e00\u4e2a\u5c0f\u5c0f\u7684\u5f69\u86cb\uff0c\u4f46\u4e3b\u8981\u7684\u82f1\u96c4\u662f nms<\/span>\u3002\u4f7f\u7528\u7ba1\u9053\u5c06\u4efb\u4f55 Linux \u547d\u4ee4\u91cd\u5b9a\u5411\u5230 nms<\/span>\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n \u5f53\u6587\u672c\u505c\u6b62\u95ea\u70c1\uff0c\u6309\u4efb\u610f\u952e\u201c\u89e3\u5bc6\u201d\u5b83\u3002\u4e0a\u9762\u7684 systemctl<\/span> \u547d\u4ee4\u53ea\u662f\u4e00\u4e2a\u4f8b\u5b50 \u2014\u2014 \u4f60\u51e0\u4e4e\u53ef\u4ee5\u7528\u4efb\u4f55\u4e1c\u897f\u66ff\u6362\u5b83\uff01<\/p>\n \u8fd9\u662f\u4e00\u4e2a\u7528\u5f69\u8679\u4e3a\u7ec8\u7aef\u8f93\u51fa\u7740\u8272\u7684\u547d\u4ee4\u3002\u6ca1\u4ec0\u4e48\u7528\uff0c\u4f46\u662f\u5b83\u770b\u8d77\u6765\u5f88\u68d2\uff01<\/p>\n <\/p>\n lolcat<\/span> \u662f\u4e00\u4e2a Ruby \u8f6f\u4ef6\u5305\uff0c\u53ef\u4ece\u5b98\u65b9 Ruby Gems \u6258\u7ba1\u4e2d\u83b7\u5f97\u3002\u6240\u4ee5\uff0c\u4f60\u9996\u5148\u9700\u8981 gem \u5ba2\u6237\u7aef\uff1a<\/p>\n \u7136\u540e\u5b89\u88c5 lolcat<\/span> \u672c\u8eab\uff1a<\/p>\n \u518d\u8bf4\u4e00\u6b21\uff0c\u4f7f\u7528 lolcat<\/span> \u547d\u4ee4\u7ba1\u9053\u4efb\u4f55\u5176\u4ed6\u547d\u4ee4\uff0c\u5e76\u5728 Fedora \u7ec8\u7aef\u4e2d\u4eab\u53d7\u5f69\u8679\uff08\u548c\u72ec\u89d2\u517d\uff01\uff09\u3002<\/p>\n <\/p>\n chafa<\/span> \u662f\u4e00\u4e2a\u547d\u4ee4\u884c\u56fe\u50cf\u8f6c\u6362\u5668\u548c\u67e5\u770b\u5668<\/a>[2]<\/span>\u3002\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5728\u4e0d\u79bb\u5f00\u7ec8\u7aef\u7684\u60c5\u51b5\u4e0b\u6b23\u8d4f\u56fe\u50cf\u3002\u8bed\u6cd5\u975e\u5e38\u7b80\u5355\uff1a<\/p>\n \u4f60\u53ef\u4ee5\u5c06\u51e0\u4e4e\u4efb\u4f55\u7c7b\u578b\u7684\u56fe\u50cf\u6295\u5c04\u5230 chafa<\/span>\uff0c\u5305\u62ec JPG\u3001PNG\u3001TIFF\u3001BMP \u6216\u51e0\u4e4e\u4efb\u4f55 ImageMagick \u652f\u6301\u7684\u56fe\u50cf - \u8fd9\u662f chafa<\/span> \u7528\u4e8e\u89e3\u6790\u8f93\u5165\u6587\u4ef6\u7684\u5f15\u64ce\u3002\u6700\u9177\u7684\u90e8\u5206\u662f chafa<\/span> \u8fd8\u53ef\u4ee5\u5728\u4f60\u7684\u7ec8\u7aef\u5185\u663e\u793a\u975e\u5e38\u6d41\u7545\u7684 GIF \u52a8\u753b\uff01<\/p>\n chafa<\/span> \u8fd8\u6ca1\u6709\u4e3a Fedora \u6253\u5305\uff0c\u4f46\u4ece\u6e90\u4ee3\u7801\u6784\u5efa\u5b83\u5f88\u5bb9\u6613\u3002\u9996\u5148\uff0c\u83b7\u53d6\u5fc5\u8981\u7684\u6784\u5efa\u4f9d\u8d56\u9879\uff1a<\/p>\n \u63a5\u4e0b\u6765\uff0c\u514b\u9686\u4ee3\u7801\u6216\u4ece\u9879\u76ee\u7684 GitHub \u9875\u9762\u4e0b\u8f7d\u5feb\u7167\uff0c\u7136\u540e cd \u5230 chafa<\/span> \u76ee\u5f55\uff0c\u8fd9\u6837\u5c31\u884c\u4e86\uff1a<\/p>\n \u5927\u7684\u56fe\u50cf\u5728\u7b2c\u4e00\u6b21\u8fd0\u884c\u65f6\u53ef\u80fd\u9700\u8981\u4e00\u6bb5\u65f6\u95f4\u5904\u7406\uff0c\u4f46 chafa<\/span> \u4f1a\u7f13\u5b58\u4f60\u52a0\u8f7d\u7684\u6240\u6709\u5185\u5bb9\u3002\u4e0b\u4e00\u6b21\u8fd0\u884c\u51e0\u4e4e\u662f\u77ac\u95f4\u5b8c\u6210\u7684\u3002<\/p>\n Browsh \u662f\u5b8c\u5584\u7684\u7ec8\u7aef\u7f51\u9875\u6d4f\u89c8\u5668\u3002\u5b83\u6bd4 Lynx \u66f4\u5f3a\u5927\uff0c\u5f53\u7136\u66f4\u5f15\u4eba\u6ce8\u76ee\u3002 Browsh \u4ee5\u65e0\u5934\u6a21\u5f0f\u542f\u52a8 Firefox Web \u6d4f\u89c8\u5668\uff08\u56e0\u6b64\u4f60\u65e0\u6cd5\u770b\u5230\u5b83\uff09\u5e76\u5728\u7279\u6b8a Web \u6269\u5c55\u7684\u5e2e\u52a9\u4e0b\u5c06\u5176\u4e0e\u4f60\u7684\u7ec8\u7aef\u8fde\u63a5\u3002\u56e0\u6b64\uff0cBrowsh \u80fd\u50cf Firefox \u4e00\u6837\u5448\u73b0\u6240\u6709\u5bcc\u5a92\u4f53\u5185\u5bb9\uff0c\u53ea\u662f\u6709\u70b9\u50cf\u7d20\u5316\u7684\u98ce\u683c\u3002<\/p>\n <\/p>\n \u8be5\u9879\u76ee\u4e3a\u5404\u79cd Linux \u53d1\u884c\u7248\u63d0\u4f9b\u4e86\u5305\uff0c\u5305\u62ec Fedora\u3002\u4ee5\u8fd9\u79cd\u65b9\u5f0f\u5b89\u88c5\uff1a<\/p>\n \u4e4b\u540e\uff0c\u542f\u52a8 browsh<\/span> \u547d\u4ee4\u5e76\u7ed9\u5b83\u51e0\u79d2\u949f\u52a0\u8f7d\u3002\u6309 Ctrl+L<\/span> \u5c06\u7126\u70b9\u5207\u6362\u5230\u5730\u5740\u680f\u5e76\u5f00\u59cb\u6d4f\u89c8 Web\uff0c\u5c31\u50cf\u4ee5\u524d\u4e00\u6837\u4f7f\u7528\uff01\u4f7f\u7528 Ctrl+Q<\/span> \u8fd4\u56de\u7ec8\u7aef\u3002<\/p>\n via: https:\/\/fedoramagazine.org\/4-cool-apps-for-your-terminal\/<\/a><\/p>\n \u4f5c\u8005\uff1aatolstoy<\/a>[3]<\/span> \u9009\u9898\uff1alujun9972<\/a>[4]<\/span> \u8bd1\u8005\uff1ageekpi<\/a>[5]<\/span> \u6821\u5bf9\uff1awxy<\/a>[6]<\/span><\/p>\n \u672c\u6587\u7531 LCTT<\/a>[7]<\/span> \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd<\/a>[8]<\/span> \u8363\u8a89\u63a8\u51fa<\/p>\n \u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-9903-1.html<\/a><\/p>\ngit clone https:\/\/github.com\/bartobri\/no-more-secrets.git\r\ncd .\/no-more-secrets\r\nmake nms\r\nmake sneakers ## Optional\r\nsudo make install\r\n<\/pre>\n
systemctl list-units --type=target | nms\r\n<\/pre>\n
sudo dnf install -y rubygems\r\n<\/pre>\n
gem install lolcat\r\n<\/pre>\n
chafa \/path\/to\/your\/image\r\n<\/pre>\n
sudo dnf install -y\u00a0autoconf automake libtool gtk-doc glib2-devel ImageMagick-devel\r\n<\/pre>\n
git clone https:\/\/github.com\/hpjansson\/chafa\r\n.\/autogen.sh\r\nmake\r\nsudo make install\r\n<\/pre>\n
sudo dnf install -y https:\/\/github.com\/browsh-org\/browsh\/releases\/download\/v1.4.6\/browsh_1.4.6_linux_amd64.rpm\r\n<\/pre>\n
\n\n