Linux中国
1.74K subscribers
777 photos
6.34K links
Linux 中国官方 Telegram 频道
Download Telegram
OpenSnitch:一个 Linux 上的应用程序防火墙

不能因为 Linux 比 Windows 更安全,就可以在 Linux 上放松警惕。Linux 上可以使用的防火墙很多,它们可以让你的 Linux 系统更安全。今天,我们将带你了解一个这样的防火墙工具,它就是 OpenSnitch。Media

via https://linux.cn/article-10337-1.html
OpenSnitch:一个 Linux 上的应用程序防火墙

&#19981;&#33021;&#22240;&#20026; Linux &#27604; Windows &#26356;&#23433;&#20840;&#65292;&#23601;&#21487;&#20197;&#22312; Linux &#19978;&#25918;&#26494;&#35686;&#24789;&#12290;Linux &#19978;&#21487;&#20197;&#20351;&#29992;&#30340;&#38450;&#28779;&#22681;&#24456;&#22810;&#65292;&#23427;&#20204;&#21487;&#20197;&#35753;&#20320;&#30340; Linux &#31995;&#32479;&#26356;&#23433;&#20840;&#12290;&#20170;&#22825;&#65292;&#25105;&#20204;&#23558;&#24102;&#20320;&#20102;&#35299;&#19968;&#20010;&#36825;&#26679;&#30340;&#38450;&#28779;&#22681;&#24037;&#20855;&#65292;&#23427;&#23601;&#26159; OpenSnitch&#12290;OpenSnitch &#26159;&#20160;&#20040;&#65311;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/12/130335rlrd1dnddla746ta.jpg">Linux firewall and security</a><a href="https://www.opensnitch.io/">OpenSnitch</a> &#26159;&#20174; Little Snitch &#19978;&#31227;&#26893;&#36807;&#26469;&#30340;&#12290;&#32780; Little Snitch &#26159;&#19987;&#38376;&#20026; Mac OS &#35774;&#35745;&#30340;&#19968;&#27454;&#24212;&#29992;&#31243;&#24207;&#38450;&#28779;&#22681;&#12290;OpenSnitch &#26159;&#30001; <a href="https://github.com/evilsocket">Simone Margaritelli</a> &#35774;&#35745;&#65292;&#20063;&#31216;&#20026; <a href="https://twitter.com/evilsocket">evilsocket</a>&#12290;OpenSnitch &#25152;&#20570;&#30340;&#20027;&#35201;&#20107;&#24773;&#23601;&#26159;&#36319;&#36394;&#20320;&#26426;&#22120;&#19978;&#23433;&#35013;&#30340;&#24212;&#29992;&#31243;&#24207;&#25152;&#21457;&#36215;&#30340;&#20114;&#32852;&#32593;&#35831;&#27714;&#12290;OpenSnitch &#20801;&#35768;&#20320;&#21435;&#21019;&#24314;&#35268;&#21017;&#20197;&#21516;&#24847;&#25110;&#38459;&#27490;&#37027;&#20010;&#24212;&#29992;&#31243;&#24207;&#21457;&#36215;&#30340;&#20114;&#32852;&#32593;&#35775;&#38382;&#12290;&#24403;&#19968;&#20010;&#24212;&#29992;&#31243;&#24207;&#23581;&#35797;&#21435;&#35775;&#38382;&#20114;&#32852;&#32593;&#32780;&#27809;&#26377;&#30456;&#24212;&#30340;&#35775;&#38382;&#35268;&#21017;&#23384;&#22312;&#26102;&#65292;&#23601;&#20250;&#20986;&#29616;&#19968;&#20010;&#23545;&#35805;&#26694;&#65292;&#36825;&#20010;&#23545;&#35805;&#26694;&#35753;&#20320;&#21435;&#36873;&#25321;&#20801;&#35768;&#36824;&#26159;&#38459;&#27490;&#37027;&#20010;&#36830;&#25509;&#12290;&#20320;&#20063;&#21487;&#20197;&#20915;&#23450;&#36825;&#20010;&#26032;&#35268;&#21017;&#26159;&#24212;&#29992;&#21040;&#36827;&#31243;&#19978;&#12289;&#20855;&#20307;&#30340; URL &#19978;&#12289;&#22495;&#21517;&#19978;&#12289;&#21333;&#20010;&#23454;&#20363;&#19978;&#65292;&#20197;&#21450;&#26412;&#27425;&#20250;&#35805;&#36824;&#26159;&#27704;&#20037;&#26377;&#25928;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/12/130341i3xyfxamj3x4xjzk.jpg">OpenSnitch firewall app in Linux</a><em>OpenSnatch &#35268;&#21017;&#35831;&#27714;</em>&#20320;&#21019;&#24314;&#30340;&#25152;&#26377;&#35268;&#21017;&#37117;&#20445;&#23384;&#20026; <a href="https://www.json.org/">JSON &#25991;&#20214;</a>&#65292;&#22914;&#26524;&#20197;&#21518;&#38656;&#35201;&#20462;&#25913;&#23427;&#65292;&#23601;&#21487;&#20197;&#21435;&#20462;&#25913;&#36825;&#20010;&#25991;&#20214;&#12290;&#27604;&#22914;&#35828;&#65292;&#20320;&#38169;&#35823;&#22320;&#38459;&#27490;&#20102;&#19968;&#20010;&#24212;&#29992;&#31243;&#24207;&#12290;OpenSnitch &#20063;&#26377;&#19968;&#20010;&#28418;&#20142;&#30340;&#12289;&#19968;&#30446;&#20102;&#28982;&#30340;&#22270;&#24418;&#29992;&#25143;&#30028;&#38754;&#65306;&#26159;&#20160;&#20040;&#24212;&#29992;&#31243;&#24207;&#35775;&#38382; web&#23427;&#20204;&#20351;&#29992;&#21738;&#20010; IP &#22320;&#22336;&#23646;&#20027;&#29992;&#25143;&#26159;&#35841;&#20351;&#29992;&#21738;&#20010;&#31471;&#21475;&#22914;&#26524;&#20320;&#24895;&#24847;&#65292;&#20063;&#21487;&#20197;&#23558;&#36825;&#20123;&#20449;&#24687;&#23548;&#20986;&#21040;&#19968;&#20010; CSV &#25991;&…
12 条实用的 zypper 命令范例

zypper 是 Suse Linux 系统的包和补丁管理器,你可以根据下面的 12 条附带输出示例的实用范例来学习 zypper 命令的使用。Media

via https://linux.cn/article-10338-1.html
12 &#26465;&#23454;&#29992;&#30340; zypper &#21629;&#20196;&#33539;&#20363;

zypper &#26159; Suse Linux &#31995;&#32479;&#30340;&#21253;&#21644;&#34917;&#19969;&#31649;&#29702;&#22120;&#65292;&#20320;&#21487;&#20197;&#26681;&#25454;&#19979;&#38754;&#30340; 12 &#26465;&#38468;&#24102;&#36755;&#20986;&#31034;&#20363;&#30340;&#23454;&#29992;&#33539;&#20363;&#26469;&#23398;&#20064; zypper &#21629;&#20196;&#30340;&#20351;&#29992;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/12/132928jmstt99so6s0tesp.jpg">Media</a>Suse Linux &#20351;&#29992; zypper &#36827;&#34892;&#21253;&#31649;&#29702;&#65292;&#20854;&#26159;&#19968;&#20010;&#30001; <a href="https://en.wikipedia.org/wiki/ZYpp">ZYpp &#21253;&#31649;&#29702;&#24341;&#25806;</a>&#25552;&#20379;&#30340;&#21253;&#31649;&#29702;&#31995;&#32479;&#12290;&#22312;&#27492;&#31687;&#25991;&#31456;&#20013;&#25105;&#20204;&#23558;&#20998;&#20139; 12 &#26465;&#38468;&#24102;&#36755;&#20986;&#31034;&#20363;&#30340;&#23454;&#29992; zypper &#21629;&#20196;&#65292;&#33021;&#24110;&#21161;&#20320;&#22788;&#29702;&#26085;&#24120;&#30340;&#31995;&#32479;&#31649;&#29702;&#20219;&#21153;&#12290;&#19981;&#24102;&#21442;&#25968;&#30340; zypper &#21629;&#20196;&#23558;&#21015;&#20986;&#25152;&#26377;&#21487;&#29992;&#30340;&#36873;&#39033;&#65292;&#36825;&#27604;&#21442;&#32771;&#35814;&#32454;&#30340; man &#25163;&#20876;&#35201;&#23481;&#26131;&#19978;&#25163;&#24471;&#22810;&#12290;<pre class="prettyprint linenums">root@kerneltalks # zypper &#29992;&#27861;&#65306; zypper [--global-options] <command> [--command-options] [arguments] zypper <subcommand> [--command-options] [arguments] &#20840;&#23616;&#36873;&#39033;&#65306; --help, -h &#24110;&#21161; --version, -V &#36755;&#20986;&#29256;&#26412;&#21495; --promptids &#36755;&#20986; zypper &#29992;&#25143;&#25552;&#31034;&#31526;&#21015;&#34920; --config, -c <file> &#20351;&#29992;&#25351;&#23450;&#30340;&#37197;&#32622;&#25991;&#20214;&#26469;&#26367;&#20195;&#40664;&#35748;&#30340; --userdata <string> &#22312;&#21382;&#21490;&#21644;&#25554;&#20214;&#20013;&#20351;&#29992;&#30340;&#29992;&#25143;&#33258;&#23450;&#20041;&#20107;&#21153; id --quiet, -q &#24573;&#30053;&#27491;&#24120;&#36755;&#20986;&#65292;&#21482;&#25171;&#21360;&#38169;&#35823;&#20449;&#24687; --verbose, -v &#22686;&#21152;&#20887;&#38271;&#31243;&#24230; --color --no-color &#26159;&#21542;&#21551;&#29992;&#24425;&#33394;&#27169;&#24335;&#65292;&#22914;&#26524; tty &#25903;&#25345;&#30340;&#35805; --no-abbrev, -A &#34920;&#26684;&#20013;&#30340;&#25991;&#23383;&#19981;&#20351;&#29992;&#32553;&#20889; --table-style, -s &#34920;&#26684;&#26679;&#24335;&#65288;&#25972;&#22411;&#65289; --non-interactive, -n &#19981;&#35810;&#38382;&#20219;&#20309;&#36873;&#39033;&#65292;&#33258;&#21160;&#20351;&#29992;&#40664;&#35748;&#31572;&#26696; --non-interactive-include-reboot-patches &#38024;&#23545;&#24102;&#26377;&#37325;&#21551;&#26631;&#24535;&#30340;&#34917;&#19969;&#65292;&#19981;&#20351;&#29992;&#20132;&#20114;&#27169;&#24335; --xmlout, -x &#20999;&#25442;&#33267; XML &#36755;&#20986; --ignore-unknown, -i &#24573;&#30053;&#26410;&#30693;&#30340;&#21253; --reposd-dir, -D <dir> &#20351;&#29992;&#33258;&#23450;&#20041;&#20179;&#24211;&#25991;&#20214;&#30446;&#24405; --cache-dir, -C <dir> &#20026;&#25152;&#26377;&#32531;&#23384;&#21551;&#29992;&#21487;&#36873;&#36335;&#24452; --raw-cache-dir <dir> &#21551;&#29992;&#21487;&#36873; raw &#20803;&#25968;&#25454;&#32531;&#23384;&#36335;&#24452; --solv-cache-dir <dir> &#21551;&#29992;&#21487;&#36873; solv &#25991;&#20214;&#32531;&#23384;&#36335;&#24452; --pkg-cache-dir <dir> &#21551;&#29992;&#21487;&#36873;&#21253;&#32531;&#23384;&#36335;&#24452; &#20179;&#24211;&#36873;&#39033;&#65306; --no-gpg-checks &#24573;&#30053; GPG &#26816;&#26597;&#22833;&#36133;&#24182;&#36339;&#36807; --gpg-auto-import-keys &#33258;&#21160;&#20449;&#20219;&#24182;&#23548;&#20837;&#26032;&#20179;&#24211;&#30340;&#31614;&#21517;&#23494;&#38053; --plus…
Cat 命令的源码历史

对于 cat,这个想法和程序本身都很古老。不准确地说,我的电脑上的 cat 来自 1969 年。Media

via https://linux.cn/article-10339-1.html
Cat &#21629;&#20196;&#30340;&#28304;&#30721;&#21382;&#21490;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/12/164029zjwhnefzwzo6jmn6.jpg">Media</a>&#20197;&#21069;&#25105;&#21644;&#25105;&#30340;&#19968;&#20123;&#20146;&#25114;&#20105;&#35770;&#36807;&#35745;&#31639;&#26426;&#31185;&#23398;&#30340;&#23398;&#20301;&#20540;&#19981;&#20540;&#24471;&#35835;&#12290;&#24403;&#26102;&#25105;&#27491;&#22312;&#19978;&#22823;&#23398;&#65292;&#24182;&#35201;&#20915;&#23450;&#26159;&#19981;&#26159;&#35813;&#20027;&#20462;&#35745;&#31639;&#26426;&#12290;&#25105;&#23016;&#21644;&#25105;&#34920;&#22992;&#35273;&#24471;&#25105;&#19981;&#24212;&#35813;&#20027;&#20462;&#35745;&#31639;&#26426;&#12290;&#22905;&#20204;&#25215;&#35748;&#30693;&#36947;&#22914;&#20309;&#32534;&#31243;&#32943;&#23450;&#26159;&#24456;&#26377;&#29992;&#19988;&#23545;&#33258;&#24049;&#26377;&#21033;&#30340;&#19968;&#20214;&#20107;&#65292;&#20294;&#26159;&#22905;&#20204;&#35748;&#20026;&#35745;&#31639;&#26426;&#31185;&#23398;&#29616;&#22312;&#21457;&#23637;&#30340;&#22914;&#27492;&#36805;&#36895;&#20197;&#33267;&#20110;&#25105;&#23398;&#30340;&#19996;&#35199;&#20960;&#20046;&#39532;&#19978;&#23601;&#36807;&#26102;&#20102;&#12290;&#24314;&#35758;&#25105;&#26356;&#22909;&#26159;&#25226;&#32534;&#31243;&#20316;&#20026;&#36741;&#19994;&#65292;&#36873;&#25321;&#19968;&#20010;&#22522;&#30784;&#21407;&#29702;&#21487;&#20197;&#21463;&#29992;&#32456;&#36523;&#30340;&#39046;&#22495;&#20027;&#20462;&#65292;&#27604;&#22914;&#32463;&#27982;&#23398;&#25110;&#29289;&#29702;&#23398;&#12290;&#25105;&#30693;&#36947;&#25105;&#23016;&#21644;&#25105;&#34920;&#22992;&#35828;&#30340;&#19981;&#23545;&#65292;&#24182;&#20915;&#23450;&#20027;&#20462;&#35745;&#31639;&#26426;&#31185;&#23398;&#12290;&#65288;&#23545;&#19981;&#20303;&#21834;&#65281;&#65289;&#24179;&#24120;&#20154;&#21487;&#33021;&#20250;&#35273;&#24471;&#20687;&#35745;&#31639;&#26426;&#31185;&#23398;&#39046;&#22495;&#21644;&#36719;&#20214;&#24037;&#31243;&#19987;&#19994;&#27599;&#38548;&#20960;&#24180;&#23601;&#23436;&#20840;&#21644;&#20043;&#21069;&#19981;&#19968;&#26679;&#20102;&#12290;&#20854;&#21407;&#22240;&#24456;&#23481;&#26131;&#29702;&#35299;&#12290;&#25105;&#20204;&#26377;&#20102;&#20010;&#20154;&#30005;&#33041;&#65292;&#28982;&#21518;&#26377;&#20102;&#20114;&#32852;&#32593;&#65292;&#26377;&#20102;&#25163;&#26426;&#65292;&#20043;&#21518;&#36824;&#26377;&#20102;&#26426;&#22120;&#23398;&#20064;…… &#31185;&#25216;&#24635;&#26159;&#22312;&#26356;&#26032;&#65292;&#25903;&#25745;&#31185;&#25216;&#21457;&#23637;&#30340;&#21407;&#29702;&#21644;&#25216;&#33021;&#24403;&#28982;&#20063;&#22312;&#25913;&#21464;&#12290;&#24403;&#28982;&#65292;&#26368;&#24778;&#20154;&#30340;&#26159;&#20854;&#23454;&#21407;&#29702;&#30340;&#25913;&#21464;&#31455;&#28982;&#22914;&#27492;&#20043;&#23567;&#12290;&#25105;&#25954;&#32943;&#23450;&#65292;&#22823;&#22810;&#25968;&#20154;&#22312;&#30693;&#36947;&#20102;&#20182;&#20204;&#30005;&#33041;&#37324;&#19968;&#20123;&#37325;&#35201;&#30340;&#36719;&#20214;&#30340;&#21382;&#21490;&#26159;&#22810;&#20040;&#20037;&#36828;&#26102;&#20182;&#20204;&#19968;&#23450;&#20250;&#28145;&#24863;&#38663;&#24778;&#12290;&#24403;&#28982;&#25105;&#19981;&#26159;&#35828;&#37027;&#20123;&#21047;&#29256;&#26412;&#21495;&#30340;&#28014;&#22840;&#36719;&#20214; —— &#25105;&#30005;&#33041;&#19978;&#30340; Firefox &#27983;&#35272;&#22120;&#21103;&#26412;&#65292;&#21487;&#33021;&#26159;&#25105;&#29992;&#30340;&#26368;&#22810;&#30340;&#36719;&#20214;&#65292;&#21487;&#33021;&#20004;&#21608;&#21069;&#23601;&#26356;&#26032;&#36807;&#12290;&#22914;&#26524;&#20320;&#30475;&#20102;&#27604;&#22914; grep &#30340;&#25163;&#20876;&#39029;&#65292;&#20320;&#23601;&#20250;&#21457;&#29616;&#23427;&#22312; 2010 &#24180;&#21518;&#23601;&#27809;&#26377;&#36807;&#26356;&#26032;&#20102;&#65288;&#33267;&#23569;&#22312; MacOS &#19978;&#22914;&#27492;&#65289;&#12290;&#21021;&#29256; grep &#26159;&#22312; 1974 &#24180;&#20889;&#23601;&#…
Emacs 系列(五):Org 模式之文档与演示稿

Org 模式不仅仅只是一个议程生成程序,它也能输出许多不同的格式: LaTeX、PDF、Beamer、iCalendar(议程)、HTML、Markdown、ODT、普通文本、手册页和其它更多的复杂的格式,比如说网页文件。Media

via https://linux.cn/article-10340-1.html
Emacs &#31995;&#21015;&#65288;&#20116;&#65289;&#65306;Org &#27169;&#24335;&#20043;&#25991;&#26723;&#19982;&#28436;&#31034;&#31295;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/12/225949wapsn1pc0dpfpfbz.png">Media</a>&#36825;&#26159; <a href="https://changelog.complete.org/archives/tag/emacs2018">Emacs &#21644; Org &#27169;&#24335;&#31995;&#21015;</a>&#30340;&#31532;&#20116;&#31687;&#12290;&#36825;&#31687;&#21338;&#25991;&#26159;&#30001; Org &#27169;&#24335;&#30340;&#28304;&#25991;&#20214;&#29983;&#25104;&#30340;&#65292;&#20854;&#26377;&#20960;&#31181;&#26684;&#24335;&#65306;<a href="https://github.com/jgoerzen/public-snippets/blob/master/emacs/emacs-org-beamer/emacs-org-beamer.org">&#21338;&#23458;&#39029;&#38754;</a>&#12289;<a href="http://changelog.complete.org/archives/9900-emacs-5-documents-and-presentations-with-org-mode">&#28436;&#31034;&#31295;</a> &#21644; <a href="https://github.com/jgoerzen/public-snippets/raw/master/emacs/emacs-org-beamer/emacs-org-beamer.pdf">PDF &#25991;&#26723;</a>&#12290;1 Org &#27169;&#24335;&#30340;&#36755;&#20986;1.1 &#32972;&#26223;Org &#27169;&#24335;&#19981;&#20165;&#20165;&#21482;&#26159;&#19968;&#20010;&#35758;&#31243;&#29983;&#25104;&#31243;&#24207;&#65292;&#23427;&#20063;&#33021;&#36755;&#20986;&#35768;&#22810;&#19981;&#21516;&#30340;&#26684;&#24335;&#65306; LaTeX&#12289;PDF&#12289;Beamer&#12289;iCalendar&#65288;&#35758;&#31243;&#65289;&#12289;HTML&#12289;Markdown&#12289;ODT&#12289;&#26222;&#36890;&#25991;&#26412;&#12289;&#25163;&#20876;&#39029;&#21644;&#20854;&#23427;&#26356;&#22810;&#30340;&#22797;&#26434;&#30340;&#26684;&#24335;&#65292;&#27604;&#22914;&#35828;&#32593;&#39029;&#25991;&#20214;&#12290;&#36825;&#20063;&#19981;&#21482;&#26159;&#19968;&#20123;&#20107;&#21518;&#30340;&#24819;&#27861;&#65292;&#36825;&#26159; Org &#27169;&#24335;&#30340;&#35774;&#35745;&#26680;&#24515;&#37096;&#20998;&#24182;&#19988;&#38598;&#25104;&#30340;&#24456;&#22909;&#12290;&#36825;&#19968;&#20010;&#25991;&#20214;&#21487;&#20197;&#21516;&#26102;&#26159;&#28304;&#20195;&#30721;&#12289;&#33258;&#21160;&#29983;&#25104;&#30340;&#36755;&#20986;&#12289;&#20219;&#21153;&#21015;&#34920;&#12289;&#25991;&#26723;&#21644;&#23637;&#31034;&#12290;&#26377;&#20123;&#20154;&#23558; Org &#27169;&#24335;&#20316;&#20026;&#20182;&#20204;&#39318;&#36873;&#30340;&#26631;&#35760;&#26684;&#24335;&#65292;&#29978;&#33267;&#23545;&#20110; LaTeX &#25991;&#26723;&#20063;&#26159;&#22914;&#27492;&#12290;Org &#27169;&#24335;&#25163;&#20876;&#20013;&#30340; <a href="https://orgmode.org/manual/Exporting.html#Exporting">&#36755;&#20986;&#19968;&#33410;</a> &#26377;&#26356;&#35814;&#32454;&#30340;&#20171;&#32461;&#12290;1.2 &#24320;&#22987;&#23545;&#20110;&#20219;&#24847;&#30340; Org &#27169;&#24335;&#30340;&#25991;&#26723;&#65292;&#21482;&#35201;&#25353;&#19979; C-c C-e &#38190;&#65292;&#23601;&#20250;&#24377;&#20986;&#19968;&#20010;&#35753;&#20320;&#36873;&#25321;&#22810;&#31181;&#36755;&#20986;&#26684;&#24335;&#21644;&#36873;&#39033;&#30340;&#33756;&#21333;&#12290;&#36825;&#20123;&#36873;&#39033;&#36890;&#24120;&#26159;&#27425;&#38190;&#36873;&#25321;&#65292;&#25152;&#20197;&#24456;&#23481;&#26131;&#35774;&#32622;&#21644;&#25191;&#34892;&#12290;&#20363;&#22914;&#65306;&#35201;&#36755;&#20986;&#19968;&#20010; PDF &#25991;&#26723;&#65292;&#25353; C-c C-e l p&#65292;&#35201;&#36755;&#20986; HMTL &#26684;&#24335;&#30340;&#65292; &#25353; C-c C-e h h&#12290;&#23545;&#20110;&#25152;&#26377;&#30340;&#36755;&#20986;&#36873;&#39033;&#65292;&#37117;&#26377;&#35768;&#22810;&#21487;&#29992;&#30340;&#35774;&#32622;&#65307;&#35814;&#24773;&#21442;&#35265;&#25163;&#20876;&#12290;&#20107;&#23454;&#19978;&#65292;&#20351;&#29992; LaTeX &#26684;&#24335;&#30456;&#24403;&#20110;&#21516;&#26102;&#20351;&#29992; LaTeX &#21644; HTML &#27169;&#24335;&#65292;&#22312;&#19981;&#21516;&#30340;&#27169;&#24335;&#20013;&#25554;&#20837;&#20219;&#24847;&#30340;&#21069;&#35328;&#21644;&#35774;&#32622;&#31561;&#12290;1.3 &#31532;&#19977;&#26041;&#25554;&#20214;<a…
降低项目失败率的三个原则

透明和包容性的项目要求可以降低您的失败率。 以下是如何协作收集它们。Media

via https://linux.cn/article-10341-1.html
&#38477;&#20302;&#39033;&#30446;&#22833;&#36133;&#29575;&#30340;&#19977;&#20010;&#21407;&#21017;

&#36879;&#26126;&#21644;&#21253;&#23481;&#24615;&#30340;&#39033;&#30446;&#35201;&#27714;&#21487;&#20197;&#38477;&#20302;&#24744;&#30340;&#22833;&#36133;&#29575;&#12290; &#20197;&#19979;&#26159;&#22914;&#20309;&#21327;&#20316;&#25910;&#38598;&#23427;&#20204;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/13/163341meoeovjyfpjdhody.jpg">Media</a>&#20247;&#25152;&#21608;&#30693;&#65292;&#26126;&#30830;&#12289;&#31616;&#27905;&#21644;&#21487;&#34913;&#37327;&#30340;&#38656;&#27714;&#20250;&#24102;&#26469;&#26356;&#22810;&#25104;&#21151;&#30340;&#39033;&#30446;&#12290;&#19968;&#39033;<a href="http://calleam.com/WTPF/?page_id=1445">&#40614;&#32943;&#38177;&#19982;&#29275;&#27941;&#22823;&#23398;</a>&#30340;&#20851;&#20110;&#22823;&#22411;&#39033;&#30446;&#30340;&#30740;&#31350;&#34920;&#26126;&#65306;“&#24179;&#22343;&#32780;&#35328;&#65292;&#22823;&#22411; IT &#39033;&#30446;&#36229;&#20986;&#39044;&#31639; 45&#65285;&#65292;&#26102;&#38388;&#27599;&#25512;&#31227; 7&#65285;&#65292;&#20215;&#20540;&#23601;&#27604;&#39044;&#26399;&#20302; 56&#65285; &#12290;”&#35813;&#30740;&#31350;&#36824;&#34920;&#26126;&#65292;&#36896;&#25104;&#36825;&#31181;&#22833;&#36133;&#30340;&#19968;&#20123;&#21407;&#22240;&#26159;“&#27169;&#31946;&#30340;&#19994;&#21153;&#30446;&#26631;&#65292;&#19981;&#21516;&#27493;&#30340;&#21033;&#30410;&#30456;&#20851;&#32773;&#20197;&#21450;&#36807;&#24230;&#30340;&#36820;&#24037;&#12290;”&#19994;&#21153;&#20998;&#26512;&#24072;&#32463;&#24120;&#21457;&#29616;&#33258;&#24049;&#36890;&#36807;&#25345;&#32493;&#23545;&#35805;&#26469;&#26500;&#24314;&#36825;&#20123;&#38656;&#27714;&#12290;&#20026;&#27492;&#65292;&#20182;&#20204;&#24517;&#39035;&#21560;&#24341;&#22810;&#20010;&#21033;&#30410;&#30456;&#20851;&#26041;&#65292;&#24182;&#30830;&#20445;&#21442;&#19982;&#32773;&#25552;&#20379;&#26126;&#30830;&#30340;&#19994;&#21153;&#30446;&#26631;&#12290;&#36825;&#26679;&#21487;&#20197;&#20943;&#23569;&#36820;&#24037;&#65292;&#25552;&#39640;&#26356;&#22810;&#39033;&#30446;&#30340;&#25104;&#21151;&#29575;&#12290;&#20182;&#20204;&#21487;&#20197;&#29992;&#24320;&#25918;&#21644;&#21253;&#23481;&#30340;&#26041;&#24335;&#20570;&#21040;&#36825;&#19968;&#28857;&#12290;&#25104;&#21151;&#30340;&#26694;&#26550;&#25552;&#39640;&#39033;&#30446;&#25104;&#21151;&#29575;&#30340;&#19968;&#20010;&#24037;&#20855;&#26159;<a href="https://opensource.com/open-organization/resources/open-decision-framework">&#24320;&#25918;&#20915;&#31574;&#26694;&#26550;</a>&#12290;&#24320;&#25918;&#20915;&#31574;&#26694;&#26550;&#26159;&#19968;&#31181;&#36164;&#28304;&#65292;&#21487;&#20197;&#24110;&#21161;&#29992;&#25143;&#22312;&#25317;&#25265;<a href="https://opensource.com/open-organization/resources/open-org-definition">&#24320;&#25918;&#21407;&#21017;</a>&#30340;&#32452;&#32455;&#20013;&#20570;&#20986;&#26356;&#26377;&#25928;&#30340;&#20915;&#31574;&#12290;&#35813;&#26694;&#26550;&#24378;&#35843;&#19977;&#20010;&#20027;&#35201;&#21407;&#21017;&#65306;&#36879;&#26126;&#12289;&#21253;&#23481;&#12289;&#20197;&#23458;&#25143;&#20026;&#20013;&#24515;&#12290;<strong>&#36879;&#26126;</strong>&#12290;&#24456;&#22810;&#26102;&#20505;&#65292;&#24320;&#21457;&#20154;&#21592;&#21644;&#20135;&#21697;&#35774;&#35745;&#20154;&#21592;&#37117;&#35748;&#20026;&#20182;&#20204;&#30693;&#36947;&#21033;&#30410;&#30456;&#20851;&#32773;&#22914;&#20309;&#20351;&#29992;&#29305;&#23450;&#24037;&#20855;&#25110;&#36719;&#20214;&#12290;&#20294;&#36825;&#20123;&#20551;&#35774;&#24448;&#24448;&#26159;&#19981;&#27491;&#30830;&#30340;&#65292;&#24182;&#23548;&#33268;&#23545;&#21033;&#30410;&#30456;&#20851;&#32773;&#23454;&#38469;&#38656;&#27714;&#30340;&#35823;&#35299;&#12290;&#24320;&#21457;&#20154;&#21592;&#21644;&#20225;&#19994;&#20027;&#35752;&#35770;&#26102;&#23454;&#34892;&#36879;&#26126;&#21183;&#22312;&#24517;&#34892;&#12290;&#24320;&#21457;&#22242;&#38431;&#19981;…
数据科学家的命令行技巧

立志掌握命令行应该在每个开发人员的学习清单上,特别是数据科学家。Media

via https://linux.cn/article-10342-1.html
&#25968;&#25454;&#31185;&#23398;&#23478;&#30340;&#21629;&#20196;&#34892;&#25216;&#24039;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/13/221149dirhh8vthq2vll9j.png">Media</a>&#23545;&#20110;&#35768;&#22810;&#25968;&#25454;&#31185;&#23398;&#23478;&#26469;&#35828;&#65292;&#25968;&#25454;&#25805;&#20316;&#20174;&#22987;&#33267;&#32456;&#23601;&#26159; Pandas &#25110; Tidyverse&#12290;&#20174;&#29702;&#35770;&#19978;&#35762;&#65292;&#36825;&#26679;&#20570;&#27809;&#26377;&#20219;&#20309;&#38382;&#39064;&#12290;&#27605;&#31455;&#65292;&#36825;&#23601;&#26159;&#36825;&#20123;&#24037;&#20855;&#23384;&#22312;&#30340;&#21407;&#22240;&#12290;&#28982;&#32780;&#65292;&#23545;&#20110;&#20687;&#20998;&#38548;&#31526;&#36716;&#25442;&#36825;&#26679;&#30340;&#31616;&#21333;&#20219;&#21153;&#65292;&#36825;&#20123;&#24037;&#20855;&#26159;&#22823;&#26448;&#23567;&#29992;&#20102;&#12290;&#31435;&#24535;&#25484;&#25569;&#21629;&#20196;&#34892;&#24212;&#35813;&#22312;&#27599;&#20010;&#24320;&#21457;&#20154;&#21592;&#30340;&#23398;&#20064;&#28165;&#21333;&#19978;&#65292;&#29305;&#21035;&#26159;&#25968;&#25454;&#31185;&#23398;&#23478;&#12290;&#23398;&#20064; shell &#30340;&#26469;&#40857;&#21435;&#33033;&#23558;&#26080;&#21487;&#21542;&#35748;&#22320;&#25552;&#39640;&#20320;&#30340;&#29983;&#20135;&#21147;&#12290;&#38500;&#27492;&#20043;&#22806;&#65292;&#21629;&#20196;&#34892;&#36824;&#26159;&#35745;&#31639;&#39046;&#22495;&#30340;&#19968;&#20010;&#37325;&#35201;&#21382;&#21490;&#35838;&#31243;&#12290;&#20363;&#22914;&#65292;awk —— &#19968;&#31181;&#25968;&#25454;&#39537;&#21160;&#30340;&#33050;&#26412;&#35821;&#35328;&#12290;1977 &#24180;&#65292;&#22312; <a href="https://en.wikipedia.org/wiki/Brian_Kernighan">Brain Kernighan</a>&#65288;&#21363;&#20256;&#22855;&#30340; <a href="https://en.wikipedia.org/wiki/The_C_Programming_Language">K&R &#20070;</a>&#20013; K&#65289;&#30340;&#24110;&#21161;&#19979;&#65292;awk &#39318;&#27425;&#20986;&#29616;&#12290;&#20170;&#22825;&#65292;&#22823;&#32422;&#20116;&#21313;&#24180;&#36807;&#21435;&#20102;&#65292;awk &#20173;&#28982;&#27963;&#36291;&#22312;&#27599;&#24180;<a href="https://www.amazon.com/Learning-AWK-Programming-cutting-edge-text-processing-ebook/dp/B07BT98HDS">&#26032;&#20986;&#29256;&#30340;&#20070;</a>&#37324;&#38754;&#12290;&#22240;&#27492;&#65292;&#21487;&#20197;&#23433;&#20840;&#22320;&#20551;&#35774;&#23545;&#21629;&#20196;&#34892;&#39764;&#27861;&#30340;&#20184;&#20986;&#19981;&#20250;&#24456;&#24555;&#36140;&#20540;&#12290;&#25105;&#20204;&#23558;&#28085;&#30422;&#20160;&#20040;ICONVHEADTRWCSPLITSORT & UNIQCUTPASTEJOINGREPSEDAWKICONV&#25991;&#20214;&#32534;&#30721;&#21487;&#33021;&#20250;&#24456;&#26840;&#25163;&#12290;&#29616;&#22312;&#22823;&#37096;&#20998;&#25991;&#20214;&#37117;&#26159; UTF-8 &#32534;&#30721;&#30340;&#12290;&#35201;&#20102;&#35299; UTF-8 &#32972;&#21518;&#30340;&#19968;&#20123;&#39764;&#21147;&#65292;&#35831;&#26597;&#30475;&#36825;&#20010;&#20986;&#33394;&#30340;<a href="https://www.youtube.com/watch?v=MijmeoH9LT4">&#35270;&#39057;</a>&#12290;&#23613;&#31649;&#22914;&#27492;&#65292;&#26377;&#26102;&#25105;&#20204;&#25910;&#21040;&#30340;&#25991;&#20214;&#19981;&#26159;&#36825;&#31181;&#32534;&#30721;&#12290;&#36825;&#21487;&#33021;&#24341;&#36215;&#23545;&#25913;&#21464;&#32534;&#30721;&#27169;&#24335;&#30340;&#19968;&#20123;&#32993;&#20081;&#23581;&#35797;&#12290;&#36825;&#37324;&#65292;iconv &#26159;&#19968;&#20010;&#25327;&#25937;&#32773;&#12290;iconv &#26159;&#19968;&#20010;&#31616;&#21333;&#30340;&#31243;&#24207;&#65292;&#23427;&#23558;&#33719;&#21462;&#37319;&#29992;&#19968;&#31181;&#32534;&#30721;&#30340;&#25991;&#26412;&#24182;&#36755;&#20986;&#37319;&#29992;&#21478;&#19968;&#31181;&#32534;&#30721;&#30340;&#25991;&#26412;&#12290;<pre class="prettyprint linenums"># Converting -f (from) latin1 (ISO-8859-1)# -t (to) standard UTF_8iconv -f ISO-8859-1 -t UTF-8 < input.txt > output.txt</pre>&#23454;&#29992;&#36873;&#39033;&#65306;iconv -l &#21015;&#2…
给写作者们的 7 个命令行工具

扔掉你的文字编辑器,然后使用这些开源工具在命令行上写作吧。Media

via https://linux.cn/article-10343-1.html
&#32473;&#20889;&#20316;&#32773;&#20204;&#30340; 7 &#20010;&#21629;&#20196;&#34892;&#24037;&#20855;

&#25172;&#25481;&#20320;&#30340;&#25991;&#23383;&#32534;&#36753;&#22120;&#65292;&#28982;&#21518;&#20351;&#29992;&#36825;&#20123;&#24320;&#28304;&#24037;&#20855;&#22312;&#21629;&#20196;&#34892;&#19978;&#20889;&#20316;&#21543;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/13/224349sakaydvbedllll9l.jpg">Media</a>&#23545;&#20110;&#22823;&#22810;&#25968;&#20154;&#65288;&#23588;&#20854;&#26159;&#38750;&#25216;&#26415;&#20154;&#21592;&#65289;&#65292;&#20889;&#20316;&#24847;&#21619;&#30528;&#22312; LibreOffice Writer &#25110;&#32773;&#20854;&#20182;&#24102;&#22270;&#24418;&#30028;&#38754;&#30340;&#25991;&#23383;&#22788;&#29702;&#24212;&#29992;&#19978;&#32534;&#36753;&#25991;&#26412;&#12290;&#20294;&#26159;&#36824;&#26377;&#35768;&#22810;&#21487;&#34892;&#30340;&#26041;&#27861;&#21487;&#20197;&#35753;&#20219;&#20309;&#20154;&#36890;&#36807;&#25991;&#26412;&#20256;&#36882;&#20182;&#20204;&#30340;&#20449;&#24687;&#65292;&#23588;&#20854;&#26159;&#36234;&#26469;&#36234;&#22810;&#30340;&#20316;&#32773;&#36873;&#25321;<a href="https://plaintextproject.online">&#25317;&#25265;&#32431;&#25991;&#26412;</a>&#12290;&#22312;&#20351;&#29992;&#22270;&#24418;&#30028;&#38754;&#20889;&#20316;&#30340;&#19990;&#30028;&#21516;&#26679;&#26377;&#21629;&#20196;&#34892;&#24037;&#20855;&#30340;&#19968;&#24109;&#20043;&#22320;&#12290;&#36825;&#20123;&#21629;&#20196;&#34892;&#24037;&#20855;&#21487;&#20197;&#24110;&#21161;&#20182;&#20204;&#36827;&#34892;&#20889;&#20316;&#65292;&#26816;&#26597;&#20182;&#20204;&#30340;&#25340;&#20889;&#31561;&#31561; —— &#26080;&#35770;&#26159;&#22312;&#20889;&#19968;&#31687;&#25991;&#31456;&#12289;&#21338;&#23458;&#25110;&#32773;&#25925;&#20107;&#65307;&#20889;&#19968;&#20010; README &#25991;&#20214;&#65307;&#25110;&#32773;&#20934;&#22791;&#19968;&#20221;&#25216;&#26415;&#25991;&#26723;&#30340;&#26102;&#20505;&#12290;&#19979;&#38754;&#26159;&#19968;&#20123;&#22312;&#20219;&#20309;&#20889;&#20316;&#24773;&#20917;&#19979;&#37117;&#26377;&#29992;&#30340;&#21629;&#20196;&#34892;&#24037;&#20855;&#12290;&#32534;&#36753;&#22120;&#27809;&#38169;&#65292;&#20320;&#21487;&#20197;&#22312;&#21629;&#20196;&#34892;&#36827;&#34892;&#30495;&#27491;&#30340;&#20889;&#20316;&#12290;&#25105;&#30693;&#36947;&#19968;&#20123;&#20889;&#20316;&#32773;&#20250;&#20351;&#29992; <a href="https://www.nano-editor.org/">Nano</a>&#12289;<a href="https://www.vim.org">Vim</a>&#12289;<a href="https://www.gnu.org/software/emacs/">Emacs</a>&#12289;&#20197;&#21450; <a href="https://opensource.com/article/17/1/jove-lightweight-alternative-vim">Jove</a> &#31561;&#32534;&#36753;&#22120;&#22312;&#32456;&#31471;&#31383;&#21475;&#20013;&#36827;&#34892;&#24037;&#20316;&#12290;&#32780;&#36825;&#20123;&#32534;&#36753;&#22120;<a href="https://en.wikipedia.org/wiki/List_of_text_editors#Text_user_interface">&#24182;&#38750;&#23624;&#25351;&#21487;&#25968;</a>&#12290;&#25991;&#26412;&#32534;&#36753;&#22120;&#30340;&#20248;&#21183;&#22312;&#20110;&#23427;&#20204;&#31616;&#21333;&#26131;&#29992;&#20197;&#21450;&#26356;&#19987;&#27880;&#20110;&#25991;&#26412;&#12290;&#38750;&#24120;&#36866;&#21512;&#29992;&#20110;&#32534;&#36753;&#20219;&#20309;&#25991;&#26412;&#30340;&#21021;&#31295;&#29978;&#33267;&#23436;&#25104;&#19968;&#20010;&#28459;&#38271;&#32780;&#22797;&#26434;&#30340;&#20889;&#20316;&#39033;&#30446;&#12290;&#22914;&#26524;&#20320;&#24819;&#22312;&#21629;&#20196;&#34892;&#20013;&#33719;&#24471;&#26356;&#20687;&#25991;&#23383;&#32534;&#36753;&#22120;&#30340;&#20307;&#39564;&#65292;&#19981;&#22952;&#20102;&#35299;&#19968;&#19979; <a href="https://cowlark.com/wordgrinder/">WordGrinder</a>&#12290;&#23427;&#26159;&#19968;&#27454;&#31616;&#21333;&#20294;&#25317;&#26377;&#36275;&#22815;&#30340;&#32534;&#20889;&#21644;&#21457;&#24067;&#21151;&#33021;&#30340;&#25991;&#23383;&#32534;&#36753;&#22120;&#12290;&#23427;&#25903;&#25345;&#22522;&#26412;&#30340;&#26684…
Bash 中使用控制运算符连接命令

在命令行中,使用控制运算符为复合命令添加逻辑。Media

via https://linux.cn/article-10344-1.html
Bash &#20013;&#20351;&#29992;&#25511;&#21046;&#36816;&#31639;&#31526;&#36830;&#25509;&#21629;&#20196;

&#22312;&#21629;&#20196;&#34892;&#20013;&#65292;&#20351;&#29992;&#25511;&#21046;&#36816;&#31639;&#31526;&#20026;&#22797;&#21512;&#21629;&#20196;&#28155;&#21152;&#36923;&#36753;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/13/234800qr3691m74995qz56.jpg">Media</a>&#32463;&#24120;&#20250;&#20351;&#29992;&#19968;&#20123;&#31616;&#21333;&#30340;&#22797;&#21512;&#25351;&#20196;&#65292;&#27604;&#22914;&#35828;&#22312;&#19968;&#20010;&#21629;&#20196;&#34892;&#20013;&#36830;&#25509;&#20960;&#20010;&#21629;&#20196;&#12290;&#36825;&#20123;&#21629;&#20196;&#20351;&#29992;&#20998;&#21495;&#20998;&#38548;&#65292;&#34920;&#31034;&#19968;&#20010;&#21629;&#20196;&#32467;&#26463;&#12290;&#20026;&#20102;&#22312;&#19968;&#20010;&#21629;&#20196;&#34892;&#20013;&#21019;&#24314;&#19968;&#31995;&#21015;&#31616;&#21333;&#30340; shell &#21629;&#20196;&#65292;&#21482;&#38656;&#35201;&#20351;&#29992;&#20998;&#21495;&#25226;&#27599;&#19968;&#26465;&#21629;&#20196;&#20998;&#38548;&#24320;&#65292;&#23601;&#20687;&#19979;&#38754;&#36825;&#26679;&#65306;<pre class="prettyprint linenums">command1 ; command2 ; command3 ; command4 ;</pre>&#26368;&#21518;&#19968;&#20010;&#20998;&#21495;&#20320;&#21487;&#20197;&#19981;&#29992;&#28155;&#21152;&#65292;&#22240;&#20026;&#24403;&#20320;&#25353;&#19979;&#22238;&#36710;&#38190;&#26102;&#23601;&#34920;&#31034;&#19968;&#20010;&#21629;&#20196;&#30340;&#32467;&#26463;&#65292;&#20294;&#26159;&#20026;&#20102;&#21644;&#20854;&#23427;&#30340;&#20445;&#25345;&#19968;&#33268;&#65292;&#36824;&#26159;&#24314;&#35758;&#21152;&#19978;&#27604;&#36739;&#22909;&#12290;&#25152;&#26377;&#30340;&#21629;&#20196;&#25191;&#34892;&#37117;&#27809;&#26377;&#20160;&#20040;&#38382;&#39064; —— &#21482;&#35201;&#27809;&#26377;&#20160;&#20040;&#24847;&#22806;&#21457;&#29983;&#12290;&#20294;&#26159;&#24403;&#20986;&#38382;&#39064;&#26102;&#21040;&#24213;&#21457;&#29983;&#20102;&#20160;&#20040;&#21602;&#65311;&#25105;&#20204;&#21487;&#20197;&#39044;&#27979;&#65292;&#24182;&#19988;&#36890;&#36807; Bash &#20013;&#20869;&#32622;&#30340; && &#21644; || &#36816;&#31639;&#31526;&#36319;&#36394;&#36825;&#20123;&#38169;&#35823;&#12290;&#36825;&#20004;&#20010;&#25511;&#21046;&#36816;&#31639;&#31526;&#25552;&#20379;&#20102;&#19968;&#20123;&#27969;&#25511;&#21046;&#65292;&#21487;&#20197;&#35753;&#25105;&#20204;&#25913;&#21464;&#20195;&#30721;&#25191;&#34892;&#38431;&#21015;&#30340;&#39034;&#24207;&#12290;&#20998;&#21495;&#21644;&#25442;&#34892;&#31526;&#20063;&#34987;&#35748;&#20026;&#26159; Bash &#30340;&#25511;&#21046;&#36816;&#31639;&#31526;&#12290;&& &#36816;&#31639;&#31526;&#24847;&#20041;&#31616;&#21333;&#26469;&#35828;&#23601;&#26159;“&#22914;&#26524; command1 &#25191;&#34892;&#25104;&#21151;&#65292;&#23601;&#25509;&#30528;&#25191;&#34892; command2&#12290;”&#22914;&#26524; command1 &#22240;&#20026;&#20219;&#20309;&#21407;&#22240;&#25191;&#34892;&#22833;&#36133;&#65292;&#37027;&#20040; command2 &#23558;&#19981;&#25191;&#34892;&#12290;&#36825;&#20010;&#35821;&#27861;&#30475;&#19979;&#26469;&#20687;&#36825;&#26679;&#65306;<pre class="prettyprint linenums">command1 && command2</pre>&#36825;&#26679;&#20889;&#26159;&#20801;&#35768;&#30340;&#65292;&#22240;&#20026;&#27599;&#19968;&#20010;&#21629;&#20196;&#37117;&#20250;&#36820;&#22238;&#19968;&#20010;&#20540;&#65288;RC&#65289;&#32473; shell &#26469;&#34920;&#31034;&#36825;&#20010;&#21629;&#20196;&#22312;&#25191;&#34892;&#30340;&#36807;&#31243;&#20013;&#26159;&#21542;&#25191;&#34892;&#25104;&#21151;&#25110;&#32773;&#22833;&#36133;&#12290;&#36890;&#24120;&#65292;&#36820;&#22238;&#20540;&#26159; 0 &#34920;&#31034;&#25104;&#21151;&#65292;&#32780;&#19968;&#20010;&#27491;&#25968;&#20540;&#34920;&#31034;&#19981;&#21516;&#31181;&#31867;&#30340;&#38169;&#35823;&#12290;&#26377;&#19968;&#20123;&#31995;&#32479;&#31649;&#29702;&#24037;&#20855;&#20165;&#20165;&#36820;&#22238;&#19968;&#20010; 1 &#26469…
一种新的安全检测的方法

不要只测试已有系统,强安全要求更积极主动的策略。Media

via https://linux.cn/article-10345-1.html
&#19968;&#31181;&#26032;&#30340;&#23433;&#20840;&#26816;&#27979;&#30340;&#26041;&#27861;

&#19981;&#35201;&#21482;&#27979;&#35797;&#24050;&#26377;&#31995;&#32479;&#65292;&#24378;&#23433;&#20840;&#35201;&#27714;&#26356;&#31215;&#26497;&#20027;&#21160;&#30340;&#31574;&#30053;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/14/123745dk16klj99jpkjw2w.png">Media</a>&#25105;&#20204;&#24403;&#20013;&#26377;&#22810;&#23569;&#20154;&#26366;&#35828;&#20986;&#36807;&#19979;&#38754;&#36825;&#21477;&#35805;&#65306;“&#25105;&#24076;&#26395;&#36825;&#33021;&#36215;&#21040;&#20316;&#29992;&#65281;”&#65311;&#27627;&#26080;&#30097;&#38382;&#65292;&#25105;&#20204;&#20013;&#30340;&#22823;&#22810;&#25968;&#20154;&#21487;&#33021;&#37117;&#19981;&#27490;&#19968;&#27425;&#22320;&#35828;&#36807;&#36825;&#21477;&#35805;&#12290;&#36825;&#21477;&#35805;&#19981;&#26159;&#29992;&#26469;&#28608;&#21457;&#20449;&#24515;&#30340;&#65292;&#30456;&#21453;&#23427;&#25581;&#31034;&#20102;&#25105;&#20204;&#23545;&#33258;&#36523;&#33021;&#21147;&#21644;&#24403;&#21069;&#27491;&#22312;&#27979;&#35797;&#30340;&#21151;&#33021;&#30340;&#24576;&#30097;&#12290;&#19981;&#24184;&#30340;&#26159;&#65292;&#36825;&#21477;&#35805;&#38750;&#24120;&#22909;&#22320;&#25551;&#36848;&#20102;&#25105;&#20204;&#20256;&#32479;&#30340;&#23433;&#20840;&#27169;&#22411;&#12290;&#25105;&#20204;&#30340;&#36816;&#33829;&#22522;&#20110;&#36825;&#26679;&#30340;&#20551;&#35774;&#65292;&#24182;&#24076;&#26395;&#25105;&#20204;&#23454;&#26045;&#30340;&#25511;&#21046;&#25514;&#26045; —— &#20174; web &#24212;&#29992;&#30340;&#28431;&#25195;&#21040;&#32456;&#31471;&#19978;&#30340;&#26432;&#27602;&#36719;&#20214; —— &#38450;&#27490;&#24694;&#24847;&#30340;&#30149;&#27602;&#21644;&#36719;&#20214;&#36827;&#20837;&#25105;&#20204;&#30340;&#31995;&#32479;&#65292;&#25439;&#22351;&#25110;&#20599;&#21462;&#25105;&#20204;&#30340;&#20449;&#24687;&#12290;&#28183;&#36879;&#27979;&#35797;&#36890;&#36807;&#31215;&#26497;&#22320;&#23581;&#35797;&#20405;&#20837;&#32593;&#32476;&#12289;&#21521; web &#24212;&#29992;&#27880;&#20837;&#24694;&#24847;&#20195;&#30721;&#25110;&#32773;&#36890;&#36807;&#21457;&#36865;&#38035;&#40060;&#37038;&#20214;&#26469;&#20256;&#25773;&#30149;&#27602;&#31561;&#31561;&#36825;&#20123;&#27493;&#39588;&#26469;&#36991;&#20813;&#25105;&#20204;&#23545;&#20551;&#35774;&#30340;&#20381;&#36182;&#12290;&#30001;&#20110;&#25105;&#20204;&#22312;&#19981;&#21516;&#30340;&#23433;&#20840;&#23618;&#38754;&#19978;&#26469;&#21457;&#29616;&#21644;&#28183;&#36879;&#28431;&#27934;&#65292;&#25163;&#21160;&#27979;&#35797;&#26080;&#27861;&#35299;&#20915;&#28431;&#27934;&#34987;&#20027;&#21160;&#25171;&#24320;&#30340;&#24773;&#20917;&#12290;&#22312;&#23433;&#20840;&#23454;&#39564;&#20013;&#65292;&#25105;&#20204;&#25925;&#24847;&#22312;&#21463;&#25511;&#30340;&#24773;&#24418;&#19979;&#21019;&#36896;&#28151;&#20081;&#65292;&#27169;&#25311;&#20107;&#25925;&#30340;&#24773;&#24418;&#65292;&#26469;&#23458;&#35266;&#22320;&#26816;&#27979;&#25105;&#20204;&#26816;&#27979;&#12289;&#38459;&#27490;&#36825;&#31867;&#38382;&#39064;&#30340;&#33021;&#21147;&#12290;“&#23433;&#20840;&#23454;&#39564;&#20026;&#20998;&#24067;&#24335;&#31995;&#32479;&#30340;&#23433;&#20840;&#24615;&#23454;&#39564;&#25552;&#20379;&#20102;&#19968;&#31181;&#26041;&#27861;&#65292;&#20197;&#24314;&#31435;&#23545;&#25239;&#24694;&#24847;&#25915;&#20987;&#30340;&#33021;&#21147;&#30340;&#20449;&#24515;&#12290;”&#22312;&#20998;&#24067;&#24335;&#31995;&#32479;&#30340;&#23433;&#20840;&#24615;&#21644;&#22797;&#26434;&#24615;&#26041;&#38754;&#65292;&#38656;&#35201;&#21453;&#22797;&#22320;&#37325;&#30003;&#28151;&#27788;&#24037;&#31243;&#30028;&#30340;&#19968;&#21477;&#21517;&#35328;&#65292;“&#24076;&#26395;&#19981;&#26159;&#19968;&#31181;&#26377;&#25928;&#30340;&#31574;&#30053;”&#12290;&#25105;&#20204;&#22810;&#20037;&#20250;&#20027;&#21160;&#27979;&#35797;&#19968;&#27425;&#25105;&#20204;&#35774;&#35745;&#25110;&#26500;&#24314;&#30340;&#31995;&#324…
在 Linux 命令行上拥有一头奶牛

使用 cowsay 实用程序将牛的话语带到你的终端输出。Media

via https://linux.cn/article-10346-1.html
&#22312; Linux &#21629;&#20196;&#34892;&#19978;&#25317;&#26377;&#19968;&#22836;&#22902;&#29275;

&#20351;&#29992; cowsay &#23454;&#29992;&#31243;&#24207;&#23558;&#29275;&#30340;&#35805;&#35821;&#24102;&#21040;&#20320;&#30340;&#32456;&#31471;&#36755;&#20986;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/14/132737a4vjqeyp1ndm41vw.png">Media</a>&#27426;&#36814;&#26469;&#21040; Linux &#21629;&#20196;&#34892;&#29609;&#20855;&#31532;&#22235;&#22825;&#12290;&#22914;&#26524;&#36825;&#26159;&#20320;&#31532;&#19968;&#27425;&#35775;&#38382;&#36825;&#20010;&#31995;&#21015;&#65292;&#20320;&#21487;&#33021;&#20250;&#38382;&#33258;&#24049;&#65292;&#20160;&#20040;&#26159;&#21629;&#20196;&#34892;&#29609;&#20855;&#12290;&#25105;&#20204;&#20063;&#22312;&#32771;&#34385;&#36825;&#19968;&#28857;&#65292;&#20294;&#26159;&#19968;&#33324;&#26469;&#35828;&#65292;&#36825;&#21487;&#33021;&#26159;&#19968;&#20010;&#28216;&#25103;&#65292;&#25110;&#32773;&#20219;&#20309;&#31616;&#21333;&#30340;&#23089;&#20048;&#65292;&#21487;&#20197;&#24110;&#21161;&#20320;&#22312;&#32456;&#31471;&#29609;&#24471;&#24320;&#24515;&#12290;&#20320;&#20204;&#20013;&#30340;&#19968;&#20123;&#20154;&#20250;&#35265;&#36807;&#25105;&#20204;&#20043;&#21069;&#30340;&#36873;&#20013;&#30340;&#21508;&#31181;&#29609;&#20855;&#65292;&#20294;&#26159;&#25105;&#20204;&#24076;&#26395;&#33267;&#23569;&#26377;&#19968;&#20010;&#23545;&#27599;&#20010;&#20154;&#26469;&#35828;&#37117;&#26159;&#26032;&#30340;&#12290;&#22240;&#20026;&#20960;&#20046;&#25152;&#26377;&#25105;&#21578;&#35785;&#20182;&#36825;&#20010;&#31995;&#21015;&#30340;&#20154;&#37117;&#24050;&#32463;&#38382;&#36807;&#23427;&#20102;&#65292;&#25152;&#20197;&#20170;&#22825;&#30340;&#36873;&#20013;&#30340;&#29609;&#20855;&#26159;&#24517;&#39035;&#25552;&#21450;&#30340;&#12290;&#20320;&#20063;&#19981;&#20250;&#35748;&#20026;&#25105;&#20204;&#20250;&#22312;&#19981;&#25552;&#21450; cowsay &#30340;&#24773;&#20917;&#19979;&#23436;&#25104;&#36825;&#20010;&#31995;&#21015;&#65292;&#23545;&#21543;&#65311;cowsay &#26159;&#19968;&#20010;&#31070;&#22855;&#30340;&#23454;&#29992;&#31243;&#24207;&#65292;&#23427;&#23558;&#25991;&#26412;&#20316;&#20026; ASCII &#33402;&#26415;&#29275;&#30340;&#35762;&#35805;&#25991;&#26412;&#36755;&#20986;&#12290;&#20320;&#21487;&#33021;&#20250;&#21457;&#29616; cowsey &#25171;&#21253;&#22312;&#20320;&#30340;&#40664;&#35748;&#23384;&#20648;&#24211;&#20013;&#65292;&#29978;&#33267;&#21487;&#33021;&#24050;&#32463;&#23433;&#35013;&#20102;&#12290;&#23545;&#25105;&#26469;&#35828;&#65292;&#22312; Fedora&#65292;&#20687;&#36825;&#26679;&#23433;&#35013;:<pre class="prettyprint linenums">$ sudo dnf install -y cowsay</pre>&#28982;&#21518;&#65292;&#29992; cowsey &#35843;&#29992;&#23427;&#65292;&#28982;&#21518;&#26159;&#20320;&#30340;&#28040;&#24687;&#12290;&#20063;&#35768;&#20320;&#24819;&#21040;&#26152;&#22825;&#25105;&#20204;&#35848;&#21040;&#30340; <a href="https://opensource.com/article/18/12/linux-toy-fortune">fortune &#24212;&#29992;</a> &#36830;&#25509;&#36215;&#26469;&#12290;<pre class="prettyprint linenums">$ fortune | cowsay _________________________________________/ If at first you do succeed, try to hide \\ your astonishment. / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||</pre>&#23601;&#36825;&#26679;&#65281;cowsay &#36824;&#26377;&#28857;&#23567;&#21464;&#20307;&#65292;&#31216;&#20026; cow &#25991;&#20214;&#65292;&#36890;&#24120;&#21487;&#20197;&#22312; /usr/share/cowsay &#25214;&#21040; &#65292;&#35201;&#26597;&#30475;&#31995;&#32479;&#19978;&#21487;&#29992;&#30340; cow &#25991;&#20214;&#65292;&#35831;&#22312; cowsay &#20043;&#21518;&#20351;&#29992; -l &#12290;&#28982;&#21518;&#65292;&#29992; -f &#35797;&#35797;&#20854;&#20013;&#20043;&#19968;&#12290;<pre class="prettyprint linenums">$ cowsay -f dragon "Run for cover, I feel a sneeze coming on." _______________________________________/ Run for cover, I feel a sneeze coming \\ on. / -----------------------…
你所不知道的知识共享(CC)

知识共享为艺术家提供访问权限和原始素材。大公司也从中受益。Media

via https://linux.cn/article-10347-1.html