Linux中国
1.73K subscribers
777 photos
6.34K links
Linux 中国官方 Telegram 频道
Download Telegram
树莓派自建 NAS 云盘之——云盘构建

&#29992;&#33258;&#34892;&#25176;&#31649;&#30340;&#26641;&#33683;&#27966; NAS &#20113;&#30424;&#26469;&#20445;&#25252;&#25968;&#25454;&#30340;&#23433;&#20840;&#65281;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/17/231845lcxls9emctcc6mbz.jpg">Media</a>&#22312;&#21069;&#38754;&#20004;&#31687;&#25991;&#31456;&#20013;&#65292;&#25105;&#20204;&#35752;&#35770;&#20102;&#29992;&#26641;&#33683;&#27966;&#25645;&#24314;&#19968;&#20010; NAS &#20113;&#30424;&#25152;&#38656;&#35201;&#30340;&#19968;&#20123; <a href="https://linux.cn/article-10104-1.html?utm_source=index&utm_medium=more">&#36719;&#30828;&#20214;&#29615;&#22659;&#21450;&#20854;&#25805;&#20316;&#27493;&#39588;</a>&#12290;&#25105;&#20204;&#36824;&#21046;&#23450;&#20102;&#36866;&#24403;&#30340; <a href="https://linux.cn/article-10112-1.html">&#22791;&#20221;&#31574;&#30053;</a> &#26469;&#20445;&#25252; NAS &#19978;&#30340;&#25968;&#25454;&#12290;&#26412;&#25991;&#20013;&#65292;&#25105;&#20204;&#23558;&#20171;&#32461;&#35752;&#35770;&#21033;&#29992; <a href="https://nextcloud.com/">Nestcloud</a> &#26469;&#26041;&#20415;&#24555;&#25463;&#30340;&#23384;&#20648;&#12289;&#33719;&#21462;&#20197;&#21450;&#20998;&#20139;&#20320;&#30340;&#25968;&#25454;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/17/231935uowcp6sfh2jezhpz.png">Media</a>&#24517;&#35201;&#30340;&#20934;&#22791;&#24037;&#20316;&#24819;&#35201;&#26041;&#20415;&#30340;&#20351;&#29992; Nextcloud&#65292;&#38656;&#35201;&#19968;&#20123;&#24517;&#35201;&#30340;&#20934;&#22791;&#24037;&#20316;&#12290;&#39318;&#20808;&#65292;&#20320;&#38656;&#35201;&#19968;&#20010;&#25351;&#21521; Nextcloud &#30340;&#22495;&#21517;&#12290;&#26041;&#20415;&#36215;&#35265;&#65292;&#26412;&#25991;&#23558;&#20351;&#29992; <strong>nextcloud.pi-nas.com</strong> &#12290;&#22914;&#26524;&#20320;&#26159;&#22312;&#23478;&#24237;&#32593;&#32476;&#37324;&#36816;&#34892;&#65292;&#20320;&#38656;&#35201;&#20026;&#35813;&#22495;&#21517;&#37197;&#32622; DNS &#26381;&#21153;&#65288;&#21160;&#24577;&#22495;&#21517;&#35299;&#26512;&#26381;&#21153;&#65289;&#24182;&#22312;&#36335;&#30001;&#22120;&#20013;&#24320;&#21551; 80 &#31471;&#21475;&#21644; 443 &#31471;&#21475;&#36716;&#21457;&#21151;&#33021;&#65288;&#22914;&#26524;&#38656;&#35201;&#20351;&#29992; https&#65292;&#21017;&#38656;&#35201;&#24320;&#21551; 443 &#31471;&#21475;&#36716;&#21457;&#65292;&#22914;&#26524;&#21482;&#29992; http&#65292;80 &#31471;&#21475;&#36275;&#20197;&#65289;&#12290;&#20320;&#21487;&#20197;&#20351;&#29992; <a href="https://sourceforge.net/p/ddclient/wiki/Home/">ddclient</a> &#22312;&#26641;&#33683;&#27966;&#20013;&#33258;&#21160;&#26356;&#26032; DNS&#12290;&#23433;&#35013; Nextcloud&#20026;&#20102;&#22312;&#26641;&#33683;&#27966;&#65288;&#21442;&#32771; <a href="https://linux.cn/article-10104-1.html?utm_source=index&utm_medium=more">&#31532;&#19968;&#31687;</a> &#20013;&#27493;&#39588;&#35774;&#32622;&#65289;&#20013;&#36816;&#34892; Nextcloud&#65292;&#39318;&#20808;&#29992;&#21629;&#20196; apt &#23433;&#35013; &#20197;&#19979;&#30340;&#19968;&#20123;&#20381;&#36182;&#36719;&#20214;&#21253;&#12290;<pre class="prettyprint linenums">sudo apt install unzip wget php apache2 mysql-server php-zip php-mysql php-dom php-mbstring php-gd php-curl</pre>&#20854;&#27425;&#65292;&#19979;&#36733; Nextcloud&#12290;&#22312;&#26641;&#33683;&#27966;&#20013;&#21033;&#29992; wget &#19979;&#36733;&#20854; <a href="https://nextcloud.com/install/#instructions-server">&#26368;&#26032;&#30340;&#29256;&#26412;</a>&#12290;&#22312; <a href="https://linux.cn/article-10104-1.html?utm_source=index&utm_medium=more">&#31532;&#19968;&#31687;</a> &#25991;&#31456;&#20013;&#65292;&#25105;&#20204;&#23558;&#20004;&#20010;&#30913;&#30424;&#39537;&#21160;&#22120;&#36830;&#25509;&#21040;&#26641;&#33683;&#27966;&#65292;&#19968;&#20010;&#29992;&#20110;&#23384;&#20648;&#24403;&#21069;&#2596…
三个开源的分布式追踪工具

这几个工具对复杂软件系统中的实时事件做了可视化,能帮助你快速发现性能问题。Media

via https://linux.cn/article-10127-1.html
&#19977;&#20010;&#24320;&#28304;&#30340;&#20998;&#24067;&#24335;&#36861;&#36394;&#24037;&#20855;

&#36825;&#20960;&#20010;&#24037;&#20855;&#23545;&#22797;&#26434;&#36719;&#20214;&#31995;&#32479;&#20013;&#30340;&#23454;&#26102;&#20107;&#20214;&#20570;&#20102;&#21487;&#35270;&#21270;&#65292;&#33021;&#24110;&#21161;&#20320;&#24555;&#36895;&#21457;&#29616;&#24615;&#33021;&#38382;&#39064;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/18/000511wi277hjm2vmo4oah.png">Media</a>&#20998;&#24067;&#24335;&#36861;&#36394;&#31995;&#32479;&#33021;&#22815;&#20174;&#22836;&#21040;&#23614;&#22320;&#36861;&#36394;&#36328;&#36234;&#20102;&#22810;&#20010;&#24212;&#29992;&#12289;&#26381;&#21153;&#12289;&#25968;&#25454;&#24211;&#20197;&#21450;&#20687;&#20195;&#29702;&#36825;&#26679;&#30340;&#20013;&#38388;&#20214;&#30340;&#20998;&#24067;&#24335;&#36719;&#20214;&#30340;&#35831;&#27714;&#12290;&#23427;&#33021;&#24110;&#21161;&#20320;&#26356;&#28145;&#20837;&#22320;&#29702;&#35299;&#31995;&#32479;&#20013;&#21040;&#24213;&#21457;&#29983;&#20102;&#20160;&#20040;&#12290;&#36861;&#36394;&#31995;&#32479;&#20197;&#22270;&#24418;&#21270;&#30340;&#26041;&#24335;&#65292;&#23637;&#31034;&#20986;&#27599;&#20010;&#24050;&#30693;&#27493;&#39588;&#20197;&#21450;&#26576;&#20010;&#35831;&#27714;&#22312;&#27599;&#20010;&#27493;&#39588;&#19978;&#30340;&#32791;&#26102;&#12290;&#29992;&#25143;&#21487;&#20197;&#36890;&#36807;&#36825;&#20123;&#23637;&#31034;&#26469;&#21028;&#26029;&#31995;&#32479;&#30340;&#21738;&#20010;&#29615;&#33410;&#26377;&#24310;&#36831;&#25110;&#38459;&#22622;&#65292;&#24403;&#35831;&#27714;&#22833;&#36133;&#26102;&#65292;&#36816;&#32500;&#21644;&#24320;&#21457;&#20154;&#21592;&#21487;&#20197;&#30475;&#21040;&#20934;&#30830;&#30340;&#38382;&#39064;&#28304;&#22836;&#65292;&#32780;&#19981;&#38656;&#35201;&#21435;&#27979;&#35797;&#25972;&#20010;&#31995;&#32479;&#65292;&#27604;&#22914;&#29992;&#20108;&#21449;&#26597;&#25214;&#26641;&#30340;&#26041;&#27861;&#21435;&#23450;&#20301;&#38382;&#39064;&#12290;&#22312;&#24320;&#21457;&#36845;&#20195;&#30340;&#36807;&#31243;&#20013;&#65292;&#36861;&#36394;&#31995;&#32479;&#36824;&#33021;&#22815;&#23637;&#31034;&#20986;&#21487;&#33021;&#24341;&#36215;&#24615;&#33021;&#21464;&#21270;&#30340;&#29615;&#33410;&#12290;&#36890;&#36807;&#24322;&#24120;&#34892;&#20026;&#30340;&#35686;&#21578;&#33258;&#21160;&#22320;&#24863;&#30693;&#21040;&#24615;&#33021;&#30340;&#36864;&#21270;&#65292;&#24635;&#26159;&#27604;&#23458;&#25143;&#21578;&#35785;&#20320;&#35201;&#22909;&#12290;&#36825;&#31181;&#36861;&#36394;&#26159;&#24590;&#20040;&#24037;&#20316;&#30340;&#21602;&#65311;&#32473;&#27599;&#20010;&#35831;&#27714;&#20998;&#37197;&#19968;&#20010;&#29305;&#27530; ID&#65292;&#36825;&#20010; ID &#36890;&#24120;&#20250;&#25554;&#20837;&#21040;&#35831;&#27714;&#22836;&#37096;&#20013;&#12290;&#23427;&#21807;&#19968;&#26631;&#35782;&#20102;&#23545;&#24212;&#30340;&#20107;&#21153;&#12290;&#19968;&#33324;&#25226;&#20107;&#21153;&#21483;&#20570;&#36394;&#36857;trace&#65292;“&#36394;&#36857;”&#26159;&#25972;&#20010;&#20107;&#21153;&#30340;&#25277;&#35937;&#27010;&#24565;&#12290;&#27599;&#19968;&#20010;“&#36394;&#36857;”&#30001;&#21333;&#20803;span&#32452;&#25104;&#65292;“&#21333;&#20803;”&#20195;&#34920;&#30528;&#19968;&#27425;&#35831;&#27714;&#20013;&#30495;&#27491;&#25191;&#34892;&#30340;&#25805;&#20316;&#65292;&#27604;&#22914;&#19968;&#27425;&#26381;&#21153;&#35843;&#29992;&#65292;&#19968;&#27425;&#25968;&#25454;&#24211;&#35831;&#27714;&#31561;&#12290;&#27599;&#19968;&#20010;“&#21333;&#20803;”&#20063;&#26377;&#33258;&#24049;&#21807;&#19968;&#30340; ID&#12290;“&#21333;&#20803;”&#20043;&#19979;&#20063;&#21487;&#20197;&#21019;&#24314;&#23376;“&#21333;&#20803;”&#65292;&#23376;“&#21333;&#20803;”&#21487;&#20197;&#26377;&#22810;&#20010;&#29238;“&#21333;&#20803;”&#12290;&#24403;&#19968;&#27425;&#20107;&#21153;&#65288;&#25110;&#32773;&#35828;&#36394;&#36857;&#65289;&#36816;&#34892;&#36807;&#20043;&#21518;&#65292;&#23601;&#…
使用 Python 为你的油箱加油

我来介绍一下我是如何使用 Python 来节省成本的。Media

via https://linux.cn/article-10128-1.html
&#20351;&#29992; Python &#20026;&#20320;&#30340;&#27833;&#31665;&#21152;&#27833;

&#25105;&#26469;&#20171;&#32461;&#19968;&#19979;&#25105;&#26159;&#22914;&#20309;&#20351;&#29992; Python &#26469;&#33410;&#30465;&#25104;&#26412;&#30340;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/18/003647fykfkj2p2kc57ezx.jpg">Media</a>&#25105;&#26368;&#36817;&#22312;&#24320;&#19968;&#36742;&#28903; 93 &#21495;&#27773;&#27833;&#30340;&#36710;&#23376;&#12290;&#26681;&#25454;&#27773;&#36710;&#21046;&#36896;&#21830;&#30340;&#35828;&#27861;&#65292;&#23427;&#21482;&#38656;&#35201;&#21152; 91 &#21495;&#27773;&#27833;&#23601;&#21487;&#20197;&#20102;&#12290;&#28982;&#32780;&#65292;&#22312;&#32654;&#22269;&#21482;&#33021;&#20080;&#21040; 87 &#21495;&#12289;89 &#21495;&#12289;93 &#21495;&#27773;&#27833;&#12290;&#32780;&#25105;&#23478;&#38468;&#36817;&#30340;&#27773;&#27833;&#30340;&#29289;&#20215;&#27700;&#24179;&#26159;&#27599;&#22686;&#21152;&#19968;&#21495;&#65292;&#27599;&#21152;&#20177;&#23601;&#35201;&#22810;&#20184; 30 &#32654;&#20998;&#65292;&#22240;&#27492;&#22914;&#26524;&#21152; 93 &#21495;&#27773;&#27833;&#65292;&#27599;&#21152;&#20177;&#23601;&#35201;&#22810;&#33457; 60 &#32654;&#20998;&#12290;&#20026;&#20160;&#20040;&#19981;&#33021;&#33410;&#30465;&#19968;&#20123;&#38065;&#21602;&#65311;&#19968;&#24320;&#22987;&#24456;&#31616;&#21333;&#65292;&#21482;&#38656;&#35201;&#20808;&#21152;&#28385; 93 &#21495;&#27773;&#27833;&#65292;&#28982;&#21518;&#22312;&#27833;&#37327;&#34920;&#26174;&#31034;&#27833;&#31665;&#21322;&#28385;&#30340;&#26102;&#20505;&#65292;&#29992; 89 &#21495;&#27773;&#27833;&#21152;&#28385;&#65292;&#23601;&#24471;&#21040;&#19968;&#25972;&#31665; 91 &#21495;&#27773;&#27833;&#20102;&#12290;&#20294;&#25509;&#19979;&#26469;&#23601;&#40635;&#28902;&#20102;&#65292;&#21097;&#19979;&#21322;&#31665; 91 &#21495;&#27773;&#27833;&#21152;&#19978;&#21322;&#31665; 93 &#21495;&#27773;&#27833;&#65292;&#21482;&#20250;&#21464;&#25104;&#19968;&#31665; 92 &#21495;&#27773;&#27833;&#65292;&#20877;&#25509;&#19979;&#26469;&#21602;&#65311;&#22914;&#26524;&#32487;&#32493;&#31639;&#19979;&#21435;&#65292;&#21482;&#20250;&#36234;&#26469;&#36234;&#28151;&#20081;&#12290;&#36825;&#20010;&#26102;&#20505; Python &#23601;&#27966;&#19978;&#29992;&#22330;&#20102;&#12290;&#25105;&#30340;&#26041;&#26696;&#26159;&#65292;&#21487;&#20197;&#26681;&#25454;&#27773;&#27833;&#30340;&#23454;&#26102;&#29366;&#24577;&#65292;&#19981;&#26029;&#21521;&#27833;&#31665;&#20013;&#21152;&#20837; 93 &#21495;&#27773;&#27833;&#25110;&#32773; 89 &#21495;&#27773;&#27833;&#65292;&#32780;&#26368;&#32456;&#30446;&#26631;&#26159;&#20351;&#27833;&#31665;&#20869;&#27773;&#27833;&#30340;&#21495;&#25968;&#19981;&#20302;&#20110; 91&#12290;&#25105;&#38656;&#35201;&#20570;&#30340;&#26159;&#21482;&#26159;&#36890;&#36807;&#19968;&#20123;&#31639;&#27861;&#26469;&#21028;&#26029;&#26032;&#26087;&#27773;&#27833;&#28151;&#21512;&#20043;&#21518;&#30340;&#21495;&#25968;&#12290;&#20351;&#29992;&#22810;&#39033;&#24335;&#26041;&#31243;&#25110;&#35768;&#20063;&#21487;&#20197;&#35299;&#20915;&#36825;&#20010;&#38382;&#39064;&#65292;&#20294;&#22914;&#26524;&#20351;&#29992; Python&#65292;&#22909;&#20687;&#21482;&#38656;&#35201;&#36827;&#34892;&#24490;&#29615;&#23601;&#21487;&#20197;&#20102;&#12290;<pre class="prettyprint linenums">#!/usr/bin/env python# octane.pyo = 93.0newgas = 93.0 # &#36825;&#20010;&#21464;&#37327;&#35760;&#24405;&#19978;&#19968;&#27425;&#21152;&#20837;&#30340;&#27773;&#27833;&#21495;&#25968;i = 1while i < 21: # 20 &#27425;&#36845;&#20195; (&#21152;&#27833;&#27425;&#25968;) if newgas == 89.0: # &#22914;&#26524;&#19978;&#19968;&#27425;&#21152;&#30340;&#26159; 89 &#21495;&#27773;&#27833;&#65292;&#25913;&#21152; 93 &#21495;&#27773;&#27833; newgas = 93.0 o = newgas/2 + o/2 # &#24403;&#27833;&#31665;&#21322;&#28385;&#30340;&#26102;&#20505;&#23601;&#21152;&#27833; else: # &#22914;&#26524;&#19978;&#19968;&#27425;&#21152;&#30340;&#26159; 93 &#21495;&#27773;&#27833;&#65292;&#21017;&…
如何在家中使用 SSH 和 SFTP 协议

通过 SSH 和 SFTP 协议,我们能够访问其他设备,有效而且安全的传输文件等等。Media

via https://linux.cn/article-10129-1.html
&#22914;&#20309;&#22312;&#23478;&#20013;&#20351;&#29992; SSH &#21644; SFTP &#21327;&#35758;

&#36890;&#36807; SSH &#21644; SFTP &#21327;&#35758;&#65292;&#25105;&#20204;&#33021;&#22815;&#35775;&#38382;&#20854;&#20182;&#35774;&#22791;&#65292;&#26377;&#25928;&#32780;&#19988;&#23433;&#20840;&#30340;&#20256;&#36755;&#25991;&#20214;&#31561;&#31561;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/18/205017sh5ghl6w7eaihdd1.png">Media</a>&#20960;&#24180;&#21069;&#65292;&#25105;&#20915;&#23450;&#37197;&#32622;&#21478;&#22806;&#19968;&#21488;&#30005;&#33041;&#65292;&#20197;&#20415;&#25105;&#33021;&#22312;&#24037;&#20316;&#26102;&#35775;&#38382;&#23427;&#26469;&#20256;&#36755;&#25105;&#25152;&#38656;&#35201;&#30340;&#25991;&#20214;&#12290;&#35201;&#20570;&#21040;&#36825;&#19968;&#28857;&#65292;&#26368;&#22522;&#26412;&#30340;&#19968;&#27493;&#26159;&#35201;&#27714;&#20320;&#30340;&#32593;&#32476;&#25552;&#20379;&#21830;&#65288;ISP&#65289;&#25552;&#20379;&#19968;&#20010;&#22266;&#23450;&#30340;&#22320;&#22336;&#12290;&#26377;&#19968;&#20010;&#19981;&#24517;&#35201;&#20294;&#24456;&#37325;&#35201;&#30340;&#27493;&#39588;&#65292;&#23601;&#26159;&#20445;&#35777;&#20320;&#30340;&#36825;&#20010;&#21487;&#20197;&#35775;&#38382;&#30340;&#31995;&#32479;&#26159;&#23433;&#20840;&#30340;&#12290;&#22312;&#25105;&#30340;&#36825;&#31181;&#24773;&#20917;&#19979;&#65292;&#25105;&#35745;&#21010;&#21482;&#22312;&#24037;&#20316;&#22330;&#25152;&#35775;&#38382;&#23427;&#65292;&#25152;&#20197;&#25105;&#33021;&#22815;&#38480;&#23450;&#35775;&#38382;&#30340; IP &#22320;&#22336;&#12290;&#21363;&#20351;&#22914;&#27492;&#65292;&#20320;&#20381;&#28982;&#35201;&#23613;&#22810;&#30340;&#37319;&#29992;&#23433;&#20840;&#25514;&#26045;&#12290;&#19968;&#26086;&#20320;&#24314;&#31435;&#36215;&#26469;&#36825;&#20010;&#31995;&#32479;&#65292;&#20840;&#19990;&#30028;&#30340;&#20154;&#20204;&#39532;&#19978;&#23601;&#33021;&#23581;&#35797;&#35775;&#38382;&#20320;&#30340;&#31995;&#32479;&#12290;&#36825;&#26159;&#38750;&#24120;&#20196;&#20154;&#24778;&#22855;&#21450;&#24656;&#24908;&#30340;&#12290;&#20320;&#33021;&#36890;&#36807;&#26085;&#24535;&#25991;&#20214;&#26469;&#21457;&#29616;&#36825;&#19968;&#28857;&#12290;&#25105;&#25512;&#27979;&#26377;&#25506;&#27979;&#26426;&#22120;&#20154;&#22312;&#23613;&#20854;&#25152;&#33021;&#30340;&#25628;&#32034;&#37027;&#20123;&#27809;&#26377;&#23433;&#20840;&#25514;&#26045;&#30340;&#31995;&#32479;&#12290;&#22312;&#25105;&#35774;&#32622;&#22909;&#31995;&#32479;&#19981;&#20037;&#21518;&#65292;&#25105;&#35273;&#24471;&#36825;&#31181;&#35775;&#38382;&#27809;&#20160;&#20040;&#22823;&#29992;&#65292;&#20026;&#27492;&#65292;&#25105;&#23558;&#23427;&#20851;&#38381;&#20102;&#20197;&#20415;&#19981;&#20877;&#20026;&#23427;&#25805;&#24515;&#12290;&#23613;&#31649;&#22914;&#27492;&#65292;&#21482;&#35201;&#26550;&#35774;&#20102;&#23427;&#65292;&#22312;&#23478;&#24237;&#32593;&#32476;&#20013;&#20351;&#29992; SSH &#21644; SFTP &#36824;&#26159;&#26377;&#28857;&#29992;&#30340;&#12290;&#24403;&#28982;&#65292;&#26377;&#19968;&#20010;&#24517;&#22791;&#26465;&#20214;&#65292;&#36825;&#20010;&#21478;&#22806;&#30340;&#30005;&#33041;&#24517;&#39035;&#24050;&#32463;&#24320;&#26426;&#20102;&#65292;&#33267;&#20110;&#30005;&#33041;&#26159;&#21542;&#30331;&#24405;&#19982;&#21542;&#26080;&#25152;&#35859;&#30340;&#12290;&#20320;&#20063;&#38656;&#35201;&#30693;&#36947;&#20854; IP &#22320;&#22336;&#12290;&#26377;&#20004;&#20010;&#26041;&#27861;&#33021;&#22815;&#30693;&#36947;&#65292;&#19968;&#20010;&#26159;&#36890;&#36807;&#27983;&#35272;&#22120;&#35775;&#38382;&#20320;&#30340;&#36335;&#30001;&#22120;&#65292;&#19968;&#33324;&#24773;&#20917;&#19979;&#20320;&#30340;&#22320;&#22336;&#26684;&#24335;&#31867;&#20284;&#20110; 192.168.1.254 &#36825;&#26679;&#12290;&#36890;&#36807;&#19968;&#20123;&#25628;&#32034;&#65292;&#24456;&#23481;&#26131;&#25214;&#20986;&#24403;&#21069;&#26159;&#24320;&#26426;&#30340;&#24182;&#19988;&#25509;&#22312; eth0 &#25110;&#32773; wifi…
如何创建和维护你自己的 man 手册

Um 是一个命令行实用程序,可以用于轻松创建和维护包含你到目前为止所了解的所有命令的 man 页面。Media

via https://linux.cn/article-10130-1.html
&#22914;&#20309;&#21019;&#24314;&#21644;&#32500;&#25252;&#20320;&#33258;&#24049;&#30340; man &#25163;&#20876;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/19/062636oamaqp01aun6vqov.png">Media</a>&#25105;&#20204;&#24050;&#32463;&#35752;&#35770;&#20102;&#19968;&#20123; <a href="https://www.ostechnix.com/3-good-alternatives-man-pages-every-linux-user-know/">man &#25163;&#20876;&#30340;&#26367;&#20195;&#26041;&#26696;</a>&#12290; &#36825;&#20123;&#26367;&#20195;&#26041;&#26696;&#20027;&#35201;&#29992;&#20110;&#23398;&#20064;&#31616;&#27905;&#30340; Linux &#21629;&#20196;&#31034;&#20363;&#65292;&#32780;&#26080;&#38656;&#36890;&#36807;&#20840;&#38754;&#32780;&#36807;&#20110;&#35814;&#32454;&#30340;&#25163;&#20876;&#39029;&#12290; &#22914;&#26524;&#20320;&#27491;&#22312;&#23547;&#25214;&#19968;&#31181;&#24555;&#36895;&#32780;&#31616;&#21333;&#30340;&#26041;&#27861;&#26469;&#36731;&#26494;&#24555;&#36895;&#22320;&#23398;&#20064; Linux &#21629;&#20196;&#65292;&#37027;&#20040;&#36825;&#20123;&#26367;&#20195;&#26041;&#26696;&#20540;&#24471;&#23581;&#35797;&#12290; &#29616;&#22312;&#65292;&#20320;&#21487;&#33021;&#27491;&#22312;&#32771;&#34385; —— &#22914;&#20309;&#20026; Linux &#21629;&#20196;&#21019;&#24314;&#33258;&#24049;&#30340; man &#24335;&#30340;&#24110;&#21161;&#39029;&#38754;&#65311; &#36825;&#26102; “Um” &#23601;&#27966;&#19978;&#29992;&#22330;&#20102;&#12290; Um &#26159;&#19968;&#20010;&#21629;&#20196;&#34892;&#23454;&#29992;&#31243;&#24207;&#65292;&#21487;&#20197;&#29992;&#20110;&#36731;&#26494;&#21019;&#24314;&#21644;&#32500;&#25252;&#21253;&#21547;&#20320;&#21040;&#30446;&#21069;&#20026;&#27490;&#25152;&#20102;&#35299;&#30340;&#25152;&#26377;&#21629;&#20196;&#30340; man &#39029;&#38754;&#12290;&#36890;&#36807;&#21019;&#24314;&#33258;&#24049;&#30340;&#25163;&#20876;&#39029;&#65292;&#20320;&#21487;&#20197;&#22312;&#25163;&#20876;&#39029;&#20013;&#36991;&#20813;&#22823;&#37327;&#19981;&#24517;&#35201;&#30340;&#32454;&#33410;&#65292;&#24182;&#19988;&#21482;&#21253;&#21547;&#20320;&#38656;&#35201;&#35760;&#20303;&#30340;&#20869;&#23481;&#12290; &#22914;&#26524;&#20320;&#24819;&#21019;&#24314;&#33258;&#24049;&#30340;&#19968;&#22871; man &#24335;&#30340;&#39029;&#38754;&#65292;“Um” &#20063;&#33021;&#20026;&#20320;&#25552;&#20379;&#24110;&#21161;&#12290; &#22312;&#36825;&#20010;&#31616;&#30701;&#30340;&#25945;&#31243;&#20013;&#65292;&#25105;&#20204;&#23558;&#23398;&#20064;&#22914;&#20309;&#23433;&#35013; “Um” &#21629;&#20196;&#20197;&#21450;&#22914;&#20309;&#21019;&#24314;&#33258;&#24049;&#30340; man &#25163;&#20876;&#39029;&#12290;&#23433;&#35013; UmUm &#36866;&#29992;&#20110; Linux &#21644;Mac OS&#12290; &#30446;&#21069;&#65292;&#23427;&#21482;&#33021;&#22312; Linux &#31995;&#32479;&#20013;&#20351;&#29992; Linuxbrew &#36719;&#20214;&#21253;&#31649;&#29702;&#22120;&#26469;&#36827;&#34892;&#23433;&#35013;&#12290; &#22914;&#26524;&#20320;&#23578;&#26410;&#23433;&#35013; Linuxbrew&#65292;&#35831;&#21442;&#32771;&#20197;&#19979;&#38142;&#25509;&#65306;<a href="https://www.ostechnix.com/linuxbrew-common-package-manager-linux-mac-os-x/">Linuxbrew&#65306;&#19968;&#20010;&#29992;&#20110; Linux &#21644; MacOS &#30340;&#36890;&#29992;&#21253;&#31649;&#29702;&#22120;</a>&#23433;&#35013; Linuxbrew &#21518;&#65292;&#36816;&#34892;&#20197;&#19979;&#21629;&#20196;&#23433;&#35013; Um &#23454;&#29992;&#31243;&#24207;&#12290;<pre class="prettyprint linenums">$ brew install sinclairtarget/wst/um</pre>&#22914;&#26524;&#20320;&#20250;&#30475;&#21040;&#31867;&#20284;&#19979;&#38754;&#30340;&#36755;&#20986;&#65292;&#24685;&#21916;&#20320;&#65281; Um &#24050;&#32463;&#23433;&#35013;&#22909;&#24182;&#19988;&#21487;&#20197;&#20351;&#29992;&#20102;&#12290;<pre class="prettyprint linenums">[...]==> Installing sinclairtarget/wst/um==> Downloading https://github.com/sinclairtarget/um/archive/4.0.0.tar.gz==> Downloading from https://codeload.github.com/sinclairtarget/um/tar.gz/4.0.0-=#=# # #==> Downloading https://rubygems.org/gems/kramdown
Linux vs Mac:Linux 比 Mac 好的 7 个原因

如果你已经在用 Mac 或者打算买一台 Mac 电脑,我们建议你仔细考虑一下,看看是改为使用 Linux 还是继续使用 Mac。Media

via https://linux.cn/article-10131-1.html
Linux vs Mac&#65306;Linux &#27604; Mac &#22909;&#30340; 7 &#20010;&#21407;&#22240;

&#26368;&#36817;&#25105;&#20204;&#35848;&#35770;&#20102;&#19968;&#20123;<a href="https://itsfoss.com/linux-better-than-windows/">&#20026;&#20160;&#20040; Linux &#27604; Windows &#22909;</a>&#30340;&#21407;&#22240;&#12290;&#27627;&#26080;&#30097;&#38382;&#65292;Linux &#26159;&#20010;&#38750;&#24120;&#20248;&#31168;&#30340;&#24179;&#21488;&#12290;&#20294;&#26159;&#23427;&#21644;&#20854;&#23427;&#25805;&#20316;&#31995;&#32479;&#19968;&#26679;&#20063;&#20250;&#26377;&#32570;&#28857;&#12290;&#23545;&#20110;&#26576;&#20123;&#19987;&#38376;&#30340;&#39046;&#22495;&#65292;&#20687;&#26159;&#28216;&#25103;&#65292;Windows &#24403;&#28982;&#26356;&#22909;&#12290;&#32780;&#23545;&#20110;&#35270;&#39057;&#32534;&#36753;&#31561;&#20219;&#21153;&#65292;Mac &#31995;&#32479;&#21487;&#33021;&#26356;&#20026;&#26041;&#20415;&#12290;&#36825;&#19968;&#20999;&#37117;&#21462;&#20915;&#20110;&#20320;&#30340;&#20559;&#22909;&#65292;&#20197;&#21450;&#20320;&#24819;&#29992;&#20320;&#30340;&#31995;&#32479;&#20570;&#20123;&#20160;&#20040;&#12290;&#22312;&#36825;&#31687;&#25991;&#31456;&#20013;&#65292;&#25105;&#20204;&#23558;&#20250;&#20171;&#32461;&#19968;&#20123; Linux &#30456;&#23545;&#20110; Mac &#26356;&#22909;&#30340;&#19968;&#20123;&#22320;&#26041;&#12290;&#22914;&#26524;&#20320;&#24050;&#32463;&#22312;&#29992; Mac &#25110;&#32773;&#25171;&#31639;&#20080;&#19968;&#21488; Mac &#30005;&#33041;&#65292;&#25105;&#20204;&#24314;&#35758;&#20320;&#20180;&#32454;&#32771;&#34385;&#19968;&#19979;&#65292;&#30475;&#30475;&#26159;&#25913;&#20026;&#20351;&#29992; Linux &#36824;&#26159;&#32487;&#32493;&#20351;&#29992; Mac&#12290;Linux &#27604; Mac &#22909;&#30340; 7 &#20010;&#21407;&#22240;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/19/223947s1dfxs9ff603e3q3.png">Linux vs Mac&#65306;&#20026;&#20160;&#20040; Linux &#26356;&#22909;</a>Linux &#21644; macOS &#37117;&#26159;&#31867; Unix &#25805;&#20316;&#31995;&#32479;&#65292;&#24182;&#19988;&#37117;&#25903;&#25345; Unix &#21629;&#20196;&#12289;bash &#21644;&#20854;&#23427; shell&#65292;&#30456;&#27604;&#20110; Windows&#65292;&#23427;&#20204;&#25152;&#25903;&#25345;&#30340;&#24212;&#29992;&#21644;&#28216;&#25103;&#27604;&#36739;&#23569;&#12290;&#20294;&#20063;&#23601;&#26159;&#36825;&#28857;&#27604;&#36739;&#30456;&#20284;&#12290;&#24179;&#38754;&#35774;&#35745;&#24072;&#21644;&#35270;&#39057;&#21098;&#36753;&#24072;&#26356;&#21152;&#20542;&#21521;&#20110;&#20351;&#29992; Mac &#31995;&#32479;&#65292;&#32780; Linux &#26356;&#21152;&#36866;&#21512;&#20570;&#24320;&#21457;&#12289;&#31995;&#32479;&#31649;&#29702;&#12289;&#36816;&#32500;&#30340;&#24037;&#31243;&#24072;&#12290;&#37027;&#35201;&#19981;&#35201;&#20351;&#29992; Linux &#21602;&#65292;&#20026;&#20160;&#20040;&#35201;&#36873;&#25321; Linux &#21602;&#65311;&#19979;&#38754;&#26159;&#26681;&#25454;&#23454;&#38469;&#32463;&#39564;&#21644;&#29702;&#24615;&#20998;&#26512;&#32473;&#20986;&#30340;&#19968;&#20123;&#24314;&#35758;&#12290;1&#12289;&#20215;&#26684;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/19/223947oqustt3npkepqfsf.jpg">Linux vs Mac&#65306;&#20026;&#20160;&#20040; Linux &#26356;&#22909;</a>&#20551;&#35774;&#20320;&#21482;&#26159;&#38656;&#35201;&#27983;&#35272;&#25991;&#20214;&#12289;&#30475;&#30005;&#24433;&#12289;&#19979;&#36733;&#22270;&#29255;&#12289;&#20889;&#25991;&#26723;&#12289;&#21046;&#20316;&#25253;&#34920;&#25110;&#32773;&#20570;&#19968;&#20123;&#31867;&#20284;&#30340;&#24037;&#20316;&#65292;&#24182;&#19988;&#20320;&#24819;&#35201;&#19968;&#20010;&#26356;&#21152;&#23433;&#20840;&#30340;&#31995;&#32479;&#12290;&#37027;&#22312;&#36825;&#31181;&#24773;&#20917;&#19979;&#65292;&#20320;&#35273;&#24471;&#33457;&#36153;&#20960;&#30334;&#32654;&#37329;&#20080;&#20010;&#31995;&#32479;&#23436;&#25104;&#36825;&#39033;&#24037;&#20316;&#65292;&#25110;&#32773;&#33457;&#36153;&#26356;&#22810;&#30452;&#25509;&#20080;&#20010; MacBook &#26356;…
在 Linux 手册页中查看整个 Arch Linux Wiki

就跟名字说的一样,它可以让你在命令行查看 Arch Wiki,但是无需联网。它可以以手册页的形式为你显示来自 Arch Wiki 的任何文章。Media

via https://linux.cn/article-10132-1.html
&#22312; Linux &#25163;&#20876;&#39029;&#20013;&#26597;&#30475;&#25972;&#20010; Arch Linux Wiki

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/19/232304eyx755vrg8x8zcsx.jpg">Media</a>&#19981;&#20037;&#20043;&#21069;&#65292;&#25105;&#20889;&#20102;&#31687;&#20851;&#20110;&#19968;&#20010;&#21517;&#21483; <a href="https://www.ostechnix.com/search-arch-wiki-website-commandline/">arch-wiki-cli</a> &#30340;&#21629;&#20196;&#34892;&#33050;&#26412;&#30340;&#25991;&#31456;&#65292;&#20351;&#29992;&#23427;&#21487;&#20197;&#22312;&#32456;&#31471;&#21629;&#20196;&#34892;&#20013;&#26597;&#30475; Arch Linux Wiki&#12290;&#20351;&#29992;&#36825;&#20010;&#33050;&#26412;&#65292;&#20320;&#21487;&#20197;&#24456;&#36731;&#26494;&#30340;&#29992;&#20320;&#21916;&#27426;&#30340;&#25991;&#26412;&#27983;&#35272;&#22120;&#26597;&#30475;&#25972;&#20010; Arch Wiki &#32593;&#31449;&#12290;&#26174;&#28982;&#65292;&#20351;&#29992;&#36825;&#20010;&#33050;&#26412;&#38656;&#35201;&#20320;&#26377;&#32593;&#32476;&#36830;&#25509;&#12290;&#25105;&#20170;&#22825;&#20598;&#28982;&#21457;&#29616;&#20102;&#19968;&#20010;&#21517;&#20026; Arch-wiki-man &#30340;&#31243;&#24207;&#65292;&#19982;&#20854;&#26377;&#30528;&#30456;&#21516;&#30340;&#21151;&#33021;&#12290;&#23601;&#36319;&#21517;&#23383;&#35828;&#30340;&#19968;&#26679;&#65292;&#23427;&#21487;&#20197;&#35753;&#20320;&#22312;&#21629;&#20196;&#34892;&#26597;&#30475; Arch Wiki&#65292;&#20294;&#26159;&#26080;&#38656;&#32852;&#32593;&#12290;&#23427;&#21487;&#20197;&#20197;&#25163;&#20876;&#39029;&#30340;&#24418;&#24335;&#20026;&#20320;&#26174;&#31034;&#26469;&#33258; Arch Wiki &#30340;&#20219;&#20309;&#25991;&#31456;&#12290;&#23427;&#20250;&#19979;&#36733;&#25972;&#20010; Arch Wiki &#21040;&#26412;&#22320;&#65292;&#24182;&#27599;&#20004;&#22825;&#33258;&#21160;&#25512;&#36865;&#19968;&#27425;&#12290;&#22240;&#27492;&#65292;&#20320;&#30340;&#31995;&#32479;&#19978;&#24635;&#33021;&#26377;&#19968;&#20221; Arch Wiki &#26368;&#26032;&#30340;&#21103;&#26412;&#12290;&#23433;&#35013; Arch-wiki-manArch-wiki-man &#22312; <a href="https://aur.archlinux.org/packages/arch-wiki-man/">AUR</a> &#20013;&#21487;&#29992;&#65292;&#25152;&#20197;&#20320;&#21487;&#20197;&#36890;&#36807;&#31867;&#20284;<a href="https://www.ostechnix.com/yay-found-yet-another-reliable-aur-helper/">Yay</a> &#30340; AUR &#24110;&#21161;&#31243;&#24207;&#23433;&#35013;&#23427;&#12290;<pre class="prettyprint linenums">$ yay -S arch-wiki-man</pre>&#21478;&#22806;&#65292;&#23427;&#20063;&#21487;&#20197;&#20351;&#29992; NPM &#23433;&#35013;&#12290;&#39318;&#20808;&#30830;&#20445;&#20320;&#24050;&#32463;<a href="https://www.ostechnix.com/install-node-js-linux/">&#23433;&#35013;&#20102; NoodJS</a>&#65292;&#28982;&#21518;&#20351;&#29992;&#20197;&#19979;&#21629;&#20196;&#23433;&#35013;&#23427;&#12290;<pre class="prettyprint linenums">$ npm install -g arch-wiki-man</pre>&#20197;&#25163;&#20876;&#39029;&#30340;&#24418;&#24335;&#26597;&#30475;&#25972;&#20010; Arch WikiArch-wiki-man &#30340;&#20856;&#22411;&#35821;&#27861;&#22914;&#19979;&#65306;<pre class="prettyprint linenums">$ awman <search-query></pre>&#19979;&#38754;&#30475;&#19968;&#20123;&#20855;&#20307;&#30340;&#20363;&#23376;&#65306;&#25628;&#32034;&#19968;&#20010;&#25110;&#22810;&#20010;&#21305;&#37197;&#39033;&#21482;&#38656;&#35201;&#19979;&#38754;&#30340;&#21629;&#20196;&#65292;&#23601;&#21487;&#20197;&#25628;&#32034; <a href="https://www.ostechnix.com/install-arch-linux-latest-version/">Arch Linux &#23433;&#35013;&#25351;&#21335;</a>&#12290;<pre class="prettyprint linenums">$ awman Installation guide</pre>&#19978;&#38754;&#30340;&#21629;&#20196;&#23558;&#20250;&#20174; Arch Wiki &#20013;&#25628;&#32034;&#25152;&#26377;&#21253;&#21547; “Installation guide” &#30340;&#26465;&#30446;&#12290;&#22914;&#26524;&#23545;&#20110;&#32473;&#20986;&#30340;&#25628;&#32034;&#26465;&#30446;&#26377;&#24456;&#22810;&#30340;&#21305;&#37197;&#39033;&#65292;&#23558;&#20250;&#23637;&#31034;&#20026;&#19968;&#20010;…
一个简单而美观的跨平台播客应用程序

Linux 桌面版上有很多播客播放器,但是如果你想要一些视觉上美观、有顺滑的动画并且可以在每个平台上运行的东西,那就并没有很多替代品可以替代 CPod 了。Media

via https://linux.cn/article-10133-1.html
&#19968;&#20010;&#31616;&#21333;&#32780;&#32654;&#35266;&#30340;&#36328;&#24179;&#21488;&#25773;&#23458;&#24212;&#29992;&#31243;&#24207;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/19/234010rpsfnsn7nmpos16r.png">Media</a>&#25773;&#23458;&#22312;&#36807;&#21435;&#20960;&#24180;&#20013;&#21464;&#24471;&#38750;&#24120;&#27969;&#34892;&#12290; &#25773;&#23458;&#23601;&#26159;&#25152;&#35859;&#30340;“&#20449;&#24687;&#23089;&#20048; infotainment”&#65292;&#23427;&#20204;&#36890;&#24120;&#26159;&#36731;&#26494;&#30340;&#65292;&#20294;&#20063;&#20250;&#20026;&#20320;&#25552;&#20379;&#26377;&#20215;&#20540;&#30340;&#20449;&#24687;&#12290; &#25773;&#23458;&#22312;&#36807;&#21435;&#20960;&#24180;&#20013;&#24050;&#32463;&#38750;&#24120;&#28779;&#29190;&#20102;&#65292;&#22914;&#26524;&#20320;&#21916;&#27426;&#26576;&#20123;&#19996;&#35199;&#65292;&#23601;&#24456;&#21487;&#33021;&#26377;&#20010;&#30456;&#20851;&#30340;&#25773;&#23458;&#12290; Linux &#26700;&#38754;&#29256;&#19978;&#26377;&#24456;&#22810;&#25773;&#23458;&#25773;&#25918;&#22120;&#65292;&#20294;&#26159;&#22914;&#26524;&#20320;&#24819;&#35201;&#19968;&#20123;&#35270;&#35273;&#19978;&#32654;&#35266;&#12289;&#26377;&#39034;&#28369;&#30340;&#21160;&#30011;&#24182;&#19988;&#21487;&#20197;&#22312;&#27599;&#20010;&#24179;&#21488;&#19978;&#36816;&#34892;&#30340;&#19996;&#35199;&#65292;&#37027;&#23601;&#24182;&#27809;&#26377;&#24456;&#22810;&#26367;&#20195;&#21697;&#21487;&#20197;&#26367;&#20195; CPod &#20102;&#12290; CPod&#65288;&#20197;&#21069;&#31216;&#20026; Cumulonimbus&#65289;&#26159;&#19968;&#20010;&#24320;&#28304;&#32780;&#25104;&#29087;&#30340;&#25773;&#23458;&#24212;&#29992;&#31243;&#24207;&#65292;&#36866;&#29992;&#20110; Linux&#12289;MacOS &#21644; Windows&#12290;CPod &#36816;&#34892;&#22312;&#19968;&#20010;&#21517;&#20026; Electron &#30340;&#19996;&#35199;&#19978; —— &#36825;&#20010;&#24037;&#20855;&#20801;&#35768;&#24320;&#21457;&#20154;&#21592;&#26500;&#24314;&#36328;&#24179;&#21488;&#65288;&#20363;&#22914; Windows&#12289;MacOS &#21644; Linux&#65289;&#30340;&#26700;&#38754;&#22270;&#24418;&#21270;&#24212;&#29992;&#31243;&#24207;&#12290; &#22312;&#26412;&#31616;&#35201;&#25351;&#21335;&#20013;&#65292;&#25105;&#20204;&#23558;&#35752;&#35770;&#22914;&#20309;&#22312; Linux &#20013;&#23433;&#35013;&#21644;&#20351;&#29992; CPod &#25773;&#23458;&#24212;&#29992;&#31243;&#24207;&#12290;&#23433;&#35013; CPod&#36716;&#21040; CPod &#30340;<a href="https://github.com/z-------------/CPod/releases">&#21457;&#24067;&#39029;&#38754;</a>&#12290; &#19979;&#36733;&#24182;&#23433;&#35013;&#25152;&#36873;&#24179;&#21488;&#30340;&#20108;&#36827;&#21046;&#25991;&#20214;&#12290; &#22914;&#26524;&#20320;&#20351;&#29992; Ubuntu / Debian&#65292;&#20320;&#21482;&#38656;&#20174;&#21457;&#24067;&#39029;&#38754;&#19979;&#36733;&#24182;&#23433;&#35013; .deb &#25991;&#20214;&#65292;&#22914;&#19979;&#25152;&#31034;&#12290;<pre class="prettyprint linenums">$ wget https://github.com/z-------------/CPod/releases/download/v1.25.7/CPod_1.25.7_amd64.deb$ sudo apt update$ sudo apt install gdebi$ sudo gdebi CPod_1.25.7_amd64.deb</pre>&#22914;&#26524;&#20320;&#20351;&#29992;&#20854;&#20182;&#21457;&#34892;&#29256;&#65292;&#20320;&#21487;&#33021;&#38656;&#35201;&#20351;&#29992;&#21457;&#24067;&#39029;&#38754;&#20013;&#30340; AppImage&#12290;&#20174;&#21457;&#24067;&#39029;&#38754;&#19979;&#36733; AppImage &#25991;&#20214;&#12290;&#25171;&#24320;&#32456;&#31471;&#65292;&#28982;&#21518;&#36716;&#21040;&#23384;&#20648; AppImage &#25991;&#20214;&#30340;&#30446;&#24405;&#12290; &#26356;&#25913;&#26435;&#38480;&#20197;&#20801;&#35768;&#25191;&#34892;&#65306;<pre class="prettyprint linenums">$ chmod +x CPod-1.25.7-x86_64.AppImage</pre>&#25191;&#34892; AppImage &#25991;&#20214;&#65306;<pre class="prettyprint linenums">$ ./CPod-1.25.7-x86_64.AppImage</pre>&#20320;&#23558;&#30475;&#21040;&#19968;&#20010;&#23545;&#35805;&#26694;&#35810;&#38382;&#26159;&#21542;&#23558;&#24212;&#29992;&#31243;&#24207;&#1998…
介绍 Fedora 上的 Swift

Swift 是一种使用现代方法构建安全性、性能和软件设计模式的通用编程语言。它旨在成为各种编程项目的最佳语言,从系统编程到桌面应用程序,以及扩展到云服务。Media

via https://linux.cn/article-10134-1.html
&#20171;&#32461; Fedora &#19978;&#30340; Swift

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/20/093525ccnxl3l5zxqwwpsj.jpg">Media</a>Swift &#26159;&#19968;&#31181;&#20351;&#29992;&#29616;&#20195;&#26041;&#27861;&#26500;&#24314;&#23433;&#20840;&#24615;&#12289;&#24615;&#33021;&#21644;&#36719;&#20214;&#35774;&#35745;&#27169;&#24335;&#30340;&#36890;&#29992;&#32534;&#31243;&#35821;&#35328;&#12290;&#23427;&#26088;&#22312;&#25104;&#20026;&#21508;&#31181;&#32534;&#31243;&#39033;&#30446;&#30340;&#26368;&#20339;&#35821;&#35328;&#65292;&#20174;&#31995;&#32479;&#32534;&#31243;&#21040;&#26700;&#38754;&#24212;&#29992;&#31243;&#24207;&#65292;&#20197;&#21450;&#25193;&#23637;&#21040;&#20113;&#26381;&#21153;&#12290;&#32487;&#32493;&#38405;&#35835;&#20102;&#35299;&#23427;&#20197;&#21450;&#22914;&#20309;&#22312; Fedora &#20013;&#23581;&#35797;&#23427;&#12290;&#23433;&#20840;&#12289;&#24555;&#36895;&#12289;&#23500;&#26377;&#34920;&#29616;&#21147;&#19982;&#35768;&#22810;&#29616;&#20195;&#32534;&#31243;&#35821;&#35328;&#19968;&#26679;&#65292;Swift &#34987;&#35774;&#35745;&#20026;&#27604;&#22522;&#20110; C &#30340;&#35821;&#35328;&#26356;&#23433;&#20840;&#12290;&#20363;&#22914;&#65292;&#21464;&#37327;&#24635;&#26159;&#22312;&#20351;&#29992;&#20043;&#21069;&#21021;&#22987;&#21270;&#12290;&#26816;&#26597;&#25968;&#32452;&#21644;&#25972;&#25968;&#26159;&#21542;&#28322;&#20986;&#12290;&#20869;&#23384;&#33258;&#21160;&#31649;&#29702;&#12290;Swift &#23558;&#24847;&#22270;&#25918;&#22312;&#35821;&#27861;&#20013;&#12290;&#35201;&#22768;&#26126;&#21464;&#37327;&#65292;&#35831;&#20351;&#29992; var &#20851;&#38190;&#23383;&#12290;&#35201;&#22768;&#26126;&#24120;&#37327;&#65292;&#35831;&#20351;&#29992; let&#12290;Swift &#36824;&#20445;&#35777;&#23545;&#35937;&#27704;&#36828;&#19981;&#20250;&#26159; nil&#12290;&#23454;&#38469;&#19978;&#65292;&#23581;&#35797;&#20351;&#29992;&#24050;&#30693;&#20026; nil &#30340;&#23545;&#35937;&#23558;&#23548;&#33268;&#32534;&#35793;&#26102;&#38169;&#35823;&#12290;&#24403;&#20351;&#29992; nil &#20540;&#26102;&#65292;&#23427;&#25903;&#25345;&#19968;&#31181;&#31216;&#20026; <strong>optional</strong> &#30340;&#26426;&#21046;&#12290;optional &#21487;&#33021;&#21253;&#21547; nil&#65292;&#20294;&#20351;&#29992; ? &#36816;&#31639;&#31526;&#21487;&#20197;&#23433;&#20840;&#22320;&#35299;&#21253;&#12290;&#26356;&#22810;&#30340;&#21151;&#33021;&#21253;&#25324;&#65306;&#19982;&#20989;&#25968;&#25351;&#38024;&#32479;&#19968;&#30340;&#38381;&#21253;&#20803;&#32452;&#21644;&#22810;&#20010;&#36820;&#22238;&#20540;&#27867;&#22411;&#23545;&#33539;&#22260;&#25110;&#38598;&#21512;&#36827;&#34892;&#24555;&#36895;&#32780;&#31616;&#27905;&#30340;&#36845;&#20195;&#25903;&#25345;&#26041;&#27861;&#12289;&#25193;&#23637;&#21644;&#21327;&#35758;&#30340;&#32467;&#26500;&#20307;&#20989;&#25968;&#24335;&#32534;&#31243;&#27169;&#24335;&#65292;&#20363;&#22914; map &#21644; filter&#20869;&#32622;&#24378;&#22823;&#30340;&#38169;&#35823;&#22788;&#29702;&#25317;&#26377; do&#12289;guard&#12289;defer &#21644; repeat &#20851;&#38190;&#23383;&#30340;&#39640;&#32423;&#25511;&#21046;&#27969;&#23581;&#35797; SwiftSwift &#22312; Fedora 28 &#20013;&#21487;&#29992;&#65292;&#21253;&#21517;&#20026; <strong>swift-lang</strong>&#12290;&#23433;&#35013;&#23436;&#25104;&#21518;&#65292;&#36816;&#34892; swift &#24182;&#21551;&#21160; REPL &#25511;&#21046;&#21488;&#12290;<pre class="prettyprint linenums">$ swiftWelcome to Swift version 4.2 (swift-4.2-RELEASE). Type :help for assistance. 1> let greeting="Hello world!"greeting: String = "Hello world!" 2> print(greeting)Hello world! 3> greeting = "Hello universe!"error: repl.swift:3:10: error: cannot assign to value: 'greeting' is a 'let' constantgreeting = "Hello universe!"~~~~~~~~ ^ 3></pre>Swift &#26377;&#19968;&#20010;&#19981;&#26029;&#21457;&#23637;&#30340;&#31038;&#21306;&#65292;&#29305;&#21035;&#30340;&#65292;&#26377;&#19968;&#20010;<a href="https://swift.org/server/">&#24037;&#20316;&#32452;</a>&#33268;&#21147;&#…
2018 中国开源年度报告:问卷篇

鉴于以上”由隐而显“的各种问题,开源社组织了《2018 开源年度报告》调查,从多种纬度、多种方式、多种协作来尝试靠近上述问题的答案。Media

via https://linux.cn/article-10135-1.html
2018 &#20013;&#22269;&#24320;&#28304;&#24180;&#24230;&#25253;&#21578;&#65306;&#38382;&#21367;&#31687;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/20/232926el43oa2zbmpkkz43.png">enter image description here</a>&#24341;&#35328;<strong>&#36719;&#20214;&#30340;&#19990;&#30028;&#22312;&#24708;&#28982;&#21457;&#29983;&#21464;&#21270;</strong>&#24403;&#33879;&#21517;&#30340;&#39532;&#20811;&#23433;&#24503;&#26862;&#25776;&#20889;&#12298;&#36719;&#20214;&#27491;&#22312;&#21534;&#22124;&#19990;&#30028;&#12299;&#30340;&#25991;&#31456;&#30340;&#26102;&#20505;&#65292;&#21487;&#33021;&#27809;&#26377;&#24819;&#21040;&#65292;&#22312; 6 &#24180;&#20043;&#21518;&#65292;&#20182;&#23601;&#38656;&#35201;&#21152;&#19978;&#19968;&#20010;&#23450;&#35821;&#65306;&#24320;&#28304;&#36719;&#20214;&#27491;&#22312;&#21534;&#22124;&#19990;&#30028;&#65281;&#38754;&#23545;&#20154;&#24037;&#26234;&#33021;&#30340;&#20262;&#29702;&#38382;&#39064;&#12289;&#36719;&#20214;&#20135;&#33021;&#36807;&#21097;&#30340;&#38382;&#39064;&#12289;&#36719;&#20214;&#36716;&#22411;&#20026;&#26381;&#21153;&#27169;&#24335;&#30340;&#38382;&#39064;&#12289;&#20113;&#35745;&#31639;&#24050;&#32463;&#20687;&#30005;&#21147;&#19968;&#26679;&#25104;&#20026;&#36825;&#20010;&#19990;&#30028;&#40664;&#35748;&#30340;&#22522;&#30784;&#35774;&#26045;&#12289;&#20197;&#21450;&#38754;&#21521;&#28023;&#37327;&#25968;&#25454;&#30340;&#22788;&#29702;&#38382;&#39064;&#12290;&#12290;&#12290;&#22260;&#32469;&#36825;&#20123;&#38382;&#39064;&#35299;&#20915;&#30340;&#26680;&#24515;&#21407;&#21017;&#21482;&#26377;&#19968;&#20010;&#65306;Open Source&#65281;<strong>&#30001;&#38544;&#32780;&#26174;</strong>&#24320;&#28304; 20 &#23681;&#20102;&#65292;&#23427;&#30340;&#20869;&#28085;&#21644;&#22806;&#24310;&#27491;&#22312;&#25193;&#22823;&#65292;&#19981;&#20165;&#20165;&#26159;&#19968;&#20010;&#24320;&#28304;&#30340;&#20195;&#30721;&#39033;&#30446;&#65292;&#20063;&#19981;&#20877;&#20165;&#20165;&#26159;&#19968;&#20010;&#31038;&#21306;&#65292;&#32780;&#26159;&#27491;&#21464;&#24471;&#26085;&#30410;&#22797;&#26434;&#65292;&#30740;&#31350;&#30340;&#20154;&#20063;&#36234;&#26469;&#36234;&#22810;&#65292;&#24403;&#28982;&#36825;&#26159;&#30001;&#20110;&#21442;&#19982;&#21040;&#24320;&#28304;&#20013;&#30340;&#20154;&#21644;&#20225;&#19994;&#36234;&#26469;&#36234;&#22810;&#20102;&#12290;&#20197;&#19979;&#19981;&#22952;&#21015;&#20030;&#19968;&#30058;&#65306;<strong>&#24320;&#28304;&#26159;&#19968;&#31181;&#31038;&#20132;&#29616;&#35937;</strong>2018 &#24180;&#65292;&#26377;&#19968;&#20010;&#28040;&#24687;&#22570;&#31216;&#24320;&#28304;&#30028;&#30340;&#37325;&#30917;&#28856;&#24377;&#65281;&#36825;&#23601;&#26159;&#24494;&#36719;&#20197; 75 &#20159;&#32654;&#20803;&#30340;&#20215;&#26684;&#25910;&#36141;&#20102; GitHub&#65292;&#35201;&#30693;&#36947;&#22312; 1999 &#24180;&#65292;&#20154;&#20204;&#20173;&#28982;&#19981;&#25226;&#24320;&#28304;&#24403;&#20570;&#19968;&#22238;&#20107;&#65292;<a href="http://timreview.ca/sites/default/files/article_PDF/Suehle_TIMReview_January2012_0.pdf%20/t%20_blank">Bill Gates &#22312;&#23459;&#20256;&#20182;&#30340;&#20070;&#26102;</a>&#65292;&#26366;&#22914;&#27492;&#35780;&#20215; Linux &#30340;&#65306;“&#30830;&#23454;&#25105;&#20204;&#25215;&#35748;&#22312;&#23398;&#29983;&#21644;&#29233;&#22909;&#32773;&#24403;&#20013;&#25105;&#20204;&#19981;&#22914; Linux&#65292;&#20294;&#26159;&#25105;&#20204;&#20174;&#22810;&#20010;&#35282;&#24230;&#32771;&#23519;&#36807;&#65292;&#24182;&#19981;&#35748;&#20026;&#23427;&#33021;&#22312;&#21830;&#19994;&#24066;&#22330;&#19978;&#26377;&#20309;&#20316;&#20026;&#12290;”&#24320;&#28304;&#19981;&#27490;&#20110;&#25216;&#26415;&#65292;&#38544;&#34255;&#22312;&#32972;&#21518;&#30340;&#26159;&#24320;&#21457;&#32773;&#12289;&#24037;&#31243;&#24072;&#20204;&#20043;&#38388;&#30340;&#21327;&#20316;&#19982;&#20132;&#27969;&#65292;&#20197;&#21450;&#24444;&#27492;&#30340;&#40664;&#22865;&#19982;&#35090;&#22870;&#12290;&#32780; GitHub &#30340;&…
命令行小技巧:读取文件的不同方式

如果你在系统中打开一个终端完成一些工作,你就有可能需要读取一两个文件。Media

via https://linux.cn/article-10136-1.html
&#21629;&#20196;&#34892;&#23567;&#25216;&#24039;&#65306;&#35835;&#21462;&#25991;&#20214;&#30340;&#19981;&#21516;&#26041;&#24335;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/21/000526kk3y3iwphyhkocw4.jpg">Media</a>&#20316;&#20026;&#22270;&#24418;&#25805;&#20316;&#31995;&#32479;&#65292;Fedora &#30340;&#20351;&#29992;&#26159;&#20196;&#20154;&#24841;&#24555;&#30340;&#12290;&#20320;&#21487;&#20197;&#36731;&#26494;&#22320;&#28857;&#20987;&#23436;&#25104;&#20219;&#20309;&#20219;&#21153;&#12290;&#20294;&#20320;&#21487;&#33021;&#24050;&#32463;&#30475;&#21040;&#20102;&#65292;&#22312;&#24213;&#23618;&#36824;&#26377;&#19968;&#20010;&#24378;&#22823;&#30340;&#21629;&#20196;&#34892;&#12290;&#24819;&#35201;&#22312; shell &#19979;&#20307;&#39564;&#65292;&#21482;&#38656;&#35201;&#22312; Fedora &#31995;&#32479;&#20013;&#25171;&#24320;&#20320;&#30340;&#32456;&#31471;&#24212;&#29992;&#12290;&#36825;&#31687;&#25991;&#31456;&#26159;&#21521;&#20320;&#23637;&#31034;&#24120;&#35265;&#30340;&#21629;&#20196;&#34892;&#20351;&#29992;&#26041;&#27861;&#30340;&#31995;&#21015;&#25991;&#31456;&#20043;&#19968;&#12290;&#22312;&#36825;&#37096;&#20998;&#65292;&#20320;&#23558;&#23398;&#20064;&#22914;&#20309;&#20197;&#19981;&#21516;&#30340;&#26041;&#24335;&#35835;&#21462;&#25991;&#20214;&#65292;&#22914;&#26524;&#20320;&#22312;&#31995;&#32479;&#20013;&#25171;&#24320;&#19968;&#20010;&#32456;&#31471;&#23436;&#25104;&#19968;&#20123;&#24037;&#20316;&#65292;&#20320;&#23601;&#26377;&#21487;&#33021;&#38656;&#35201;&#35835;&#21462;&#19968;&#20004;&#20010;&#25991;&#20214;&#12290;&#19968;&#24212;&#20465;&#20840;&#30340;&#22823;&#39184;&#23545;&#21629;&#20196;&#34892;&#32456;&#31471;&#30340;&#29992;&#25143;&#26469;&#35828;&#65292; cat &#21629;&#20196;&#20247;&#25152;&#21608;&#30693;&#12290; &#24403;&#20320; cat &#19968;&#20010;&#25991;&#20214;&#65292;&#20320;&#24456;&#23481;&#26131;&#30340;&#25226;&#25972;&#20010;&#25991;&#20214;&#20869;&#23481;&#23637;&#31034;&#22312;&#20320;&#30340;&#23631;&#24149;&#19978;&#12290;&#32780;&#30495;&#27491;&#21457;&#29983;&#22312;&#24213;&#23618;&#30340;&#26159;&#25991;&#20214;&#19968;&#27425;&#35835;&#21462;&#19968;&#34892;&#65292;&#28982;&#21518;&#19968;&#34892;&#19968;&#34892;&#20889;&#20837;&#23631;&#24149;&#12290;&#20551;&#35774;&#20320;&#26377;&#19968;&#20010;&#25991;&#20214;&#65292;&#21483;&#20570; myfile&#65292; &#36825;&#20010;&#25991;&#20214;&#27599;&#34892;&#21482;&#26377;&#19968;&#20010;&#21333;&#35789;&#12290;&#20026;&#20102;&#31616;&#21333;&#36215;&#35265;&#65292;&#27599;&#34892;&#30340;&#21333;&#35789;&#23601;&#26159;&#36825;&#34892;&#30340;&#34892;&#21495;&#65292;&#23601;&#20687;&#36825;&#26679;&#65306;<pre class="prettyprint linenums">onetwothreefourfive</pre>&#25152;&#20197;&#22914;&#26524;&#20320; cat &#36825;&#20010;&#25991;&#20214;&#65292;&#20320;&#23601;&#20250;&#30475;&#21040;&#22914;&#19979;&#36755;&#20986;&#65306;<pre class="prettyprint linenums">$ cat myfileonetwothreefourfive</pre>&#24182;&#27809;&#26377;&#22826;&#24778;&#21916;&#65292;&#19981;&#26159;&#21527;&#65311; &#20294;&#26159;&#26377;&#20010;&#26377;&#36259;&#30340;&#36716;&#25240;&#65292;&#21482;&#35201;&#20351;&#29992; tac &#21629;&#20196;&#65292;&#20320;&#21487;&#20197;&#20174;&#21518;&#24448;&#21069; cat &#36825;&#20010;&#25991;&#20214;&#12290;&#65288;&#35831;&#27880;&#24847;&#65292; Fedora &#23545;&#36825;&#31181;&#26377;&#20105;&#35758;&#30340;&#24189;&#40664;&#19981;&#25215;&#25285;&#20219;&#20309;&#36131;&#20219;&#65281;&#65289;<pre class="prettyprint linenums">$ tac myfilefivefourthreetwoone</pre>cat &#21629;&#20196;&#20801;&#35768;&#20320;&#20197;&#19981;&#21516;&#30340;&#26041;&#24335;&#35013;&#39280;&#36755;&#20986;&#65292;&#27604;&#22914;&#65292;&#20320;&#21487;&#20197;&#36755;&#20986;&#34892;&#21495;&#65306;<pre class="prettyprint linenums">$ cat -n myfile 1 one 2 two 3 three 4 four 5 five</pre>&#36824;&#26377;&#20854;&#20182;&#36873;&#39033;&#21487;&#20197;&#26174;&#31034;&#29305;&#27530;&#23383;&#31526;&#21644;&#20854;&#2018…