Linux中国
1.73K subscribers
777 photos
6.34K links
Linux 中国官方 Telegram 频道
Download Telegram
使用 Node.js 构建交互式命令行工具

&#20351;&#29992; Node.js &#26500;&#24314;&#19968;&#20010;&#26681;&#25454;&#35810;&#38382;&#21019;&#24314;&#25991;&#20214;&#30340;&#21629;&#20196;&#34892;&#24037;&#20855;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/02/232550x51um1yim1msd19m.jpg">Media</a>&#24403;&#29992;&#20110;&#26500;&#24314;&#21629;&#20196;&#34892;&#30028;&#38754;&#65288;CLI&#65289;&#26102;&#65292;Node.js &#21313;&#20998;&#26377;&#29992;&#12290;&#22312;&#36825;&#31687;&#25991;&#31456;&#20013;&#65292;&#25105;&#23558;&#20250;&#25945;&#20320;&#22914;&#20309;&#20351;&#29992; <a href="https://nodejs.org/en/">Node.js</a> &#26469;&#26500;&#24314;&#19968;&#20010;&#38382;&#19968;&#20123;&#38382;&#39064;&#24182;&#22522;&#20110;&#22238;&#31572;&#21019;&#24314;&#19968;&#20010;&#25991;&#20214;&#30340;&#21629;&#20196;&#34892;&#24037;&#20855;&#12290;&#24320;&#22987;&#39318;&#20808;&#65292;&#21019;&#24314;&#19968;&#20010;&#26032;&#30340; <a href="https://www.npmjs.com/">npm</a> &#21253;&#65288;NPM &#26159; JavaScript &#21253;&#31649;&#29702;&#22120;&#65289;&#12290;<pre class="prettyprint linenums">mkdir my-scriptcd my-scriptnpm init</pre>NPM &#23558;&#20250;&#38382;&#19968;&#20123;&#38382;&#39064;&#12290;&#38543;&#21518;&#65292;&#25105;&#20204;&#38656;&#35201;&#23433;&#35013;&#19968;&#20123;&#21253;&#12290;<pre class="prettyprint linenums">npm install --save chalk figlet inquirer shelljs</pre>&#36825;&#26159;&#25105;&#20204;&#38656;&#35201;&#30340;&#21253;&#65306;Chalk&#65306;&#27491;&#30830;&#35774;&#23450;&#32456;&#31471;&#30340;&#23383;&#31526;&#26679;&#24335;Figlet&#65306;&#20351;&#29992;&#26222;&#36890;&#23383;&#31526;&#21046;&#20316;&#22823;&#23383;&#27597;&#30340;&#31243;&#24207;&#65288;LCTT &#35793;&#27880;&#65306;&#20351;&#29992;&#26631;&#20934;&#23383;&#31526;&#65292;&#25340;&#20945;&#20986;&#22270;&#29255;&#65289;Inquirer&#65306;&#36890;&#29992;&#20132;&#20114;&#24335;&#21629;&#20196;&#34892;&#29992;&#25143;&#30028;&#38754;&#30340;&#38598;&#21512;ShellJS&#65306;Node.js &#29256;&#26412;&#30340;&#21487;&#31227;&#26893; Unix Shell &#21629;&#20196;&#34892;&#24037;&#20855;&#21019;&#24314;&#19968;&#20010; index.js &#25991;&#20214;&#29616;&#22312;&#25105;&#20204;&#35201;&#20351;&#29992;&#19979;&#36848;&#20869;&#23481;&#21019;&#24314;&#19968;&#20010; index.js &#25991;&#20214;&#12290;<pre class="prettyprint linenums">#!/usr/bin/env nodeconst inquirer = require("inquirer");const chalk = require("chalk");const figlet = require("figlet");const shell = require("shelljs");</pre>&#35268;&#21010;&#21629;&#20196;&#34892;&#24037;&#20855;&#22312;&#25105;&#20204;&#20889;&#21629;&#20196;&#34892;&#24037;&#20855;&#25152;&#38656;&#30340;&#20219;&#20309;&#20195;&#30721;&#20043;&#21069;&#65292;&#20570;&#35745;&#21010;&#24635;&#26159;&#24456;&#26834;&#30340;&#12290;&#36825;&#20010;&#21629;&#20196;&#34892;&#24037;&#20855;&#21482;&#20570;&#19968;&#20214;&#20107;&#65306;<strong>&#21019;&#24314;&#19968;&#20010;&#25991;&#20214;</strong>&#12290;&#23427;&#23558;&#20250;&#38382;&#20004;&#20010;&#38382;&#39064;&#65306;&#25991;&#20214;&#21517;&#26159;&#20160;&#20040;&#20197;&#21450;&#25991;&#20214;&#21518;&#32512;&#21517;&#26159;&#20160;&#20040;&#65311;&#28982;&#21518;&#21019;&#24314;&#25991;&#20214;&#65292;&#24182;&#23637;&#31034;&#19968;&#20010;&#21253;&#21547;&#20102;&#25152;&#21019;&#24314;&#25991;&#20214;&#36335;&#24452;&#30340;&#25104;&#21151;&#20449;&#24687;&#12290;<pre class="prettyprint linenums">// index.jsconst run = async () => { // show script introduction // ask questions // create the file // show success message};run();</pre>&#31532;&#19968;&#20010;&#20989;&#25968;&#21482;&#26159;&#35813;&#33050;&#26412;&#30340;&#20171;&#32461;&#12290;&#35753;&#25105;&#20204;&#20351;&#29992; chalk &#21644; figlet &#26469;&#25226;&#23427;&#23436;&#25104;&#12290;<pre class="prettyprint linenums">const init = () => { console.log( chalk.green( figlet.textSync("Node JS CLI"…
如何在 Ubuntu 18.04 中启动到救援模式或紧急模式

在救援模式下,将挂载所有本地文件系统,仅启动一些重要服务。与救援模式相比,在紧急模式中不启动任何东西。Media

via https://linux.cn/article-10409-1.html
&#22914;&#20309;&#22312; Ubuntu 18.04 &#20013;&#21551;&#21160;&#21040;&#25937;&#25588;&#27169;&#24335;&#25110;&#32039;&#24613;&#27169;&#24335;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/02/233456h882cm5rw28ynwrm.png">Media</a>&#27491;&#22914;&#20320;&#21487;&#33021;&#24050;&#32463;&#30693;&#36947;&#30340;&#37027;&#26679;&#65292;<strong>&#36816;&#34892;&#32423;&#21035;</strong> &#22312;&#35768;&#22810;&#26368;&#36817;&#30340; Linux &#21457;&#34892;&#29256;&#65288;&#22914; RHEL 7 &#21644; Ubuntu 16.04 LTS&#65289;&#20013;&#34987; <strong>systemd &#30340;&#30446;&#26631;</strong> &#26367;&#25442;&#12290;&#26377;&#20851;&#23427;&#20204;&#30340;&#26356;&#22810;&#35814;&#32454;&#20449;&#24687;&#65292;&#35831;&#21442;&#38405;<a href="https://www.ostechnix.com/check-runlevel-linux/">&#36825;&#20010;&#25351;&#21335;</a>&#12290;&#22312;&#36825;&#20010;&#31616;&#30701;&#30340;&#25945;&#31243;&#20013;&#65292;&#25105;&#20204;&#23558;&#30475;&#21040;&#22914;&#20309;&#21551;&#21160;<strong>&#25937;&#25588;&#27169;&#24335;</strong>&#20197;&#21450;<strong>&#32039;&#24613;&#27169;&#24335;</strong>&#12290;&#26412;&#25351;&#21335;&#22312; Ubuntu 18.04 LTS &#20013;&#36827;&#34892;&#20102;&#27979;&#35797;&#65292;&#20294;&#26159;&#19979;&#38754;&#32473;&#20986;&#30340;&#27493;&#39588;&#36866;&#29992;&#20110;&#22823;&#22810;&#25968;&#20351;&#29992; systemd &#20316;&#20026;&#40664;&#35748;&#26381;&#21153;&#31649;&#29702;&#22120;&#30340; Linux &#21457;&#34892;&#29256;&#12290;&#22312;&#36827;&#19968;&#27493;&#35752;&#35770;&#20043;&#21069;&#65292;&#35753;&#25105;&#28548;&#28165;&#20160;&#20040;&#26159;&#25937;&#25588;&#27169;&#24335;&#21644;&#32039;&#24613;&#27169;&#24335;&#20197;&#21450;&#36825;&#20004;&#31181;&#27169;&#24335;&#30340;&#30446;&#30340;&#26159;&#20160;&#20040;&#12290;&#20160;&#20040;&#26159;&#25937;&#25588;&#27169;&#24335;&#65311;<strong>&#25937;&#25588;&#27169;&#24335;</strong>&#30456;&#24403;&#20110;&#20351;&#29992; <strong>SysV</strong> &#20316;&#20026;&#40664;&#35748;&#30340;&#26381;&#21153;&#31649;&#29702;&#22120;&#30340; Linux &#21457;&#34892;&#29256;&#20013;&#30340; <strong>&#21333;&#29992;&#25143;&#27169;&#24335;</strong>&#12290;&#22312;&#25937;&#25588;&#27169;&#24335;&#19979;&#65292;&#23558;&#25346;&#36733;&#25152;&#26377;&#26412;&#22320;&#25991;&#20214;&#31995;&#32479;&#65292;&#20165;&#21551;&#21160;&#19968;&#20123;&#37325;&#35201;&#26381;&#21153;&#12290;&#20294;&#26159;&#65292;&#19981;&#20250;&#21551;&#21160;&#27491;&#24120;&#26381;&#21153;&#65288;&#20363;&#22914;&#32593;&#32476;&#26381;&#21153;&#65289;&#12290;&#25937;&#25588;&#27169;&#24335;&#22312;&#31995;&#32479;&#26080;&#27861;&#27491;&#24120;&#21551;&#21160;&#30340;&#24773;&#20917;&#19979;&#24456;&#26377;&#29992;&#12290;&#27492;&#22806;&#65292;&#25105;&#20204;&#21487;&#20197;&#22312;&#25937;&#25588;&#27169;&#24335;&#19979;&#25191;&#34892;&#19968;&#20123;&#37325;&#35201;&#30340;&#25937;&#25588;&#25805;&#20316;&#65292;&#20363;&#22914;<a href="https://www.ostechnix.com/how-to-reset-or-recover-root-user-password-in-linux/">&#37325;&#32622; root &#23494;&#30721;</a>&#12290;&#20160;&#20040;&#26159;&#32039;&#24613;&#27169;&#24335;&#65311;&#19982;&#25937;&#25588;&#27169;&#24335;&#30456;&#27604;&#65292;&#22312;<strong>&#32039;&#24613;&#27169;&#24335;</strong>&#20013;&#19981;&#21551;&#21160;&#20219;&#20309;&#19996;&#35199;&#12290;&#27809;&#26377;&#26381;&#21153;&#21551;&#21160;&#12289;&#27809;&#26377;&#25346;&#36733;&#28857;&#12289;&#27809;&#26377;&#24314;&#31435;&#22871;&#25509;&#23383;&#65292;&#20160;&#20040;&#20063;&#27809;&#26377;&#12290;&#20320;&#25152;&#25317;&#26377;&#30340;&#21482;&#26159;&#19968;&#20010;<strong>&#21407;&#22987;&#30340; shell</strong>&#12290;&#32039;&#24613;&#27169;&#24335;&#36866;&#29992;&#20110;&#35843;&#35797;&#30446;&#30340;&#12290;&#22312; Ubuntu 18.04 LTS &#20013;&#36827;&#20837;&#25937;&#25588;&#27169;&#24335;&#21551;&#21160;&#20320;&#30340; Ubuntu &#31995;&#32479;&#12290;&#20986;&#29616; Grub &#33756;&#21333;&#26102;&#65292;&#36…
dbxfs:在 Linux 中本地挂载 Dropbox 文件夹

虽然在 Linux 中很容易安装 Dropbox 客户端,但这种方法与官方方法略有不同。它是一个命令行 dropbox 客户端,且无需磁盘空间即可访问。Media

via https://linux.cn/article-10410-1.html
dbxfs&#65306;&#22312; Linux &#20013;&#26412;&#22320;&#25346;&#36733; Dropbox &#25991;&#20214;&#22841;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/03/134500k83d0xphlm3pxd52.png">Media</a>&#19981;&#20037;&#21069;&#65292;&#25105;&#20204;&#24635;&#32467;&#20102;&#25152;&#26377; <a href="https://www.ostechnix.com/how-to-mount-google-drive-locally-as-virtual-file-system-in-linux/">&#22312;&#26412;&#22320;&#25346;&#36733; Google Drive</a> &#20316;&#20026;&#34394;&#25311;&#25991;&#20214;&#31995;&#32479;&#65292;&#24182;&#20174; Linux &#31995;&#32479;&#35775;&#38382;&#23384;&#20648;&#22312; Google Drive &#20013;&#30340;&#25991;&#20214;&#30340;&#26041;&#27861;&#12290;&#20170;&#22825;&#65292;&#25105;&#20204;&#23558;&#23398;&#20064;&#20351;&#29992; dbxfs &#23558; Dropbox &#25991;&#20214;&#22841;&#25346;&#36733;&#21040;&#26412;&#22320;&#25991;&#20214;&#31995;&#32479;&#20013;&#12290;dbxfs &#29992;&#20110;&#22312;&#31867; Unix &#25805;&#20316;&#31995;&#32479;&#20013;&#26412;&#22320;&#25346;&#36733; Dropbox &#25991;&#20214;&#22841;&#20316;&#20026;&#34394;&#25311;&#25991;&#20214;&#31995;&#32479;&#12290;&#34429;&#28982;&#22312; Linux &#20013;&#24456;&#23481;&#26131;<a href="https://www.ostechnix.com/install-dropbox-in-ubuntu-18-04-lts-desktop/">&#23433;&#35013; Dropbox &#23458;&#25143;&#31471;</a>&#65292;&#20294;&#36825;&#31181;&#26041;&#27861;&#19982;&#23448;&#26041;&#26041;&#27861;&#30053;&#26377;&#19981;&#21516;&#12290;&#23427;&#26159;&#19968;&#20010;&#21629;&#20196;&#34892; dropbox &#23458;&#25143;&#31471;&#65292;&#19988;&#26080;&#38656;&#30913;&#30424;&#31354;&#38388;&#21363;&#21487;&#35775;&#38382;&#12290;dbxfs &#26159;&#33258;&#30001;&#24320;&#28304;&#30340;&#65292;&#24182;&#19988;&#26159;&#29992; Python 3.5+ &#32534;&#20889;&#30340;&#12290;&#23433;&#35013; dbxfsdbxfs &#23448;&#26041;&#25903;&#25345; Linux &#21644; Mac OS&#12290;&#20294;&#26159;&#65292;&#23427;&#24212;&#35813;&#36866;&#29992;&#20110;&#20219;&#20309;&#25552;&#20379; <strong>FUSE &#20860;&#23481;&#24211;</strong>&#25110;&#33021;&#22815;&#25346;&#36733; SMB &#20849;&#20139;&#30340; POSIX &#31995;&#32479;&#12290;&#30001;&#20110;&#23427;&#26159;&#29992; Python 3.5 &#32534;&#20889;&#30340;&#65292;&#22240;&#27492;&#21487;&#20197;&#20351;&#29992; pip3 &#21253;&#31649;&#29702;&#22120;&#36827;&#34892;&#23433;&#35013;&#12290;&#22914;&#26524;&#23578;&#26410;&#23433;&#35013; pip&#65292;&#35831;&#21442;&#38405;&#20197;&#19979;&#25351;&#21335;&#12290;<a href="https://www.ostechnix.com/manage-python-packages-using-pip/">&#22914;&#20309;&#20351;&#29992; pip &#31649;&#29702; Python &#21253;</a>&#24182;&#19988;&#20063;&#35201;&#23433;&#35013; FUSE &#24211;&#12290;&#22312;&#22522;&#20110; Debian &#30340;&#31995;&#32479;&#19978;&#65292;&#36816;&#34892;&#20197;&#19979;&#21629;&#20196;&#20197;&#23433;&#35013; FUSE&#65306;<pre class="prettyprint linenums">$ sudo apt install libfuse2</pre>&#22312; Fedora &#19978;&#65306;<pre class="prettyprint linenums">$ sudo dnf install fuse</pre>&#23433;&#35013;&#23436;&#25152;&#26377;&#24517;&#38656;&#30340;&#20381;&#36182;&#39033;&#21518;&#65292;&#36816;&#34892;&#20197;&#19979;&#21629;&#20196;&#20197;&#23433;&#35013; dbxfs&#65306;<pre class="prettyprint linenums">$ pip3 install dbxfs</pre>&#22312;&#26412;&#22320;&#25346;&#36733; Dropbox &#25991;&#20214;&#22841;&#21019;&#24314;&#19968;&#20010;&#25346;&#36733;&#28857;&#20197;&#23558; Dropbox &#25991;&#20214;&#22841;&#25346;&#36733;&#21040;&#26412;&#22320;&#25991;&#20214;&#31995;&#32479;&#20013;&#12290;<pre class="prettyprint linenums">$ mkdir ~/mydropbox</pre>&#28982;&#21518;&#65292;&#20351;&#29992; dbxfs &#22312;&#26412;&#22320;&#25346;&#36733; dropbox &#25991;&#20214;&#22841;&#65292;&#22914;&#19979;&#25152;&#31034;&#65306;<pre class="prettyprint linenums">$ dbxfs ~/mydropbox</pre>&#20320;&#23558;&#34987;&#35201;&#27714;&#29983;&#25104;&#19968;&#20010;&#35775;&#38382;&#20196;&#29260;&#65306;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/03/134501xh7z43dcfnalflc3.png">Me…
下载 Linux 游戏的最佳网站

新接触 Linux 游戏并想知道从哪里来 下载 Linux 游戏?我们列出了最好的资源,在这里你既能 下载免费的 Linux 游戏 ,也能购买优质的 Linux 游戏。Media

via https://linux.cn/article-10411-1.html
&#19979;&#36733; Linux &#28216;&#25103;&#30340;&#26368;&#20339;&#32593;&#31449;

&#26032;&#25509;&#35302; Linux &#28216;&#25103;&#24182;&#24819;&#30693;&#36947;&#20174;&#21738;&#37324;&#26469; &#19979;&#36733; Linux &#28216;&#25103;&#65311;&#25105;&#20204;&#21015;&#20986;&#20102;&#26368;&#22909;&#30340;&#36164;&#28304;&#65292;&#22312;&#36825;&#37324;&#20320;&#26082;&#33021; &#19979;&#36733;&#20813;&#36153;&#30340; Linux &#28216;&#25103; &#65292;&#20063;&#33021;&#36141;&#20080;&#20248;&#36136;&#30340; Linux &#28216;&#25103;&#12290;Linux &#21644;&#28216;&#25103;&#65311;&#20174;&#21069;&#65292;&#24456;&#38590;&#24819;&#35937;&#36825;&#20004;&#32773;&#36208;&#21040;&#19968;&#36215;&#12290;&#28982;&#32780;&#38543;&#30528;&#26102;&#38388;&#27969;&#36893;&#65292;&#24456;&#22810;&#20107;&#24773;&#37117;&#22312;&#21464;&#21270;&#12290;&#21040;&#22914;&#20170;&#65292;&#26377;&#25104;&#21315;&#19978;&#19975;&#22312; Linux &#19978;&#21487;&#20197;&#29609;&#30340;&#28216;&#25103;&#65292;&#32780;&#22823;&#20844;&#21496;&#21644;&#29420;&#31435;&#24320;&#21457;&#32773;&#20204;&#27491;&#22312;&#24320;&#21457;&#26356;&#22810;&#30340;&#28216;&#25103;&#12290;<a href="https://linux.cn/article-7316-1.html">&#22312; Linux &#19978;&#29609;&#28216;&#25103;</a> &#29616;&#22312;&#24050;&#32463;&#26159;&#29616;&#23454;&#12290;&#20170;&#22825;&#25105;&#20204;&#23558;&#21435;&#30475;&#30475;&#65292;&#20320;&#22312;&#21738;&#37324;&#21487;&#20197;&#25214;&#21040; Linux &#24179;&#21488;&#28216;&#25103;&#12289;&#25628;&#32034;&#21040;&#20320;&#21916;&#27426;&#30340;&#28216;&#25103;&#12290;&#22312;&#21738;&#37324;&#26469;&#19979;&#36733; Linux &#28216;&#25103;&#65311;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/03/143700nn81vt4nnvt4tx8v.jpg">&#19979;&#36733; Linux &#28216;&#25103;&#30340;&#32593;&#31449;</a>&#39318;&#20808;&#65292;&#30475;&#30475;&#20320;&#30340; Linux &#21457;&#34892;&#29256;&#30340;&#36719;&#20214;&#20013;&#24515;&#65288;&#22914;&#26524;&#26377;&#30340;&#35805;&#65289;&#12290;&#22312;&#36825;&#37324;&#20320;&#20063;&#33021;&#25214;&#21040;&#22823;&#37327;&#30340;&#28216;&#25103;&#12290;&#20294;&#26159;&#65292;&#36825;&#19981;&#24847;&#21619;&#30528;&#20320;&#24212;&#35813;&#23558;&#33258;&#24049;&#30340;&#35270;&#37326;&#23616;&#38480;&#20110;&#36719;&#20214;&#20013;&#24515;&#19978;&#12290;&#35753;&#25105;&#20204;&#26469;&#20026;&#20320;&#21015;&#20986;&#19968;&#20123;&#21487;&#20197;&#19979;&#36733; Linux &#28216;&#25103;&#32593;&#31449;&#12290;1. Steam&#22914;&#26524;&#20320;&#26159;&#32769;&#32451;&#30340;&#29609;&#23478;&#65292;&#20320;&#24212;&#35813;&#21548;&#36807; Steam&#12290;&#22914;&#26524;&#20320;&#36824;&#19981;&#30693;&#36947;&#30340;&#35805;&#65292;&#27809;&#38169;&#65292;Steam &#22312; Linux &#19978;&#20063;&#26159;&#21487;&#29992;&#30340;&#12290;Steam &#25512;&#33616;&#36816;&#34892;&#22312; Ubuntu &#19978;&#65292;&#20294;&#26159;&#23427;&#20063;&#33021;&#36816;&#34892;&#22312;&#20854;&#23427;&#20027;&#35201;&#30340;&#21457;&#34892;&#29256;&#19978;&#12290;&#22914;&#26524;&#20320;&#30495;&#30340;&#23545; Steam &#24456;&#29378;&#28909;&#65292;&#36825;&#37324;&#29978;&#33267;&#36824;&#26377;&#19968;&#20010;&#29609; Steam &#28216;&#25103;&#30340;&#19987;&#29992;&#25805;&#20316;&#31995;&#32479;&#65306;<a href="http://store.steampowered.com/steamos/">SteamOS</a>&#12290;&#25105;&#20204;&#22312;&#19978;&#19968;&#24180; <a href="https://itsfoss.com/linux-gaming-distributions/">&#26368;&#20339;&#30340; Linux &#28216;&#25103;&#21457;&#34892;&#29256;</a> &#25991;&#31456;&#20013;&#25552;&#21450;&#20102;&#23427;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/03/143701wzqqs5hets8nqv4i.jpg">Steam &#21830;&#24215;</a>Steam &#26377;&#26368;&#22823;&#30340; Linux &#28216;&#25103;&#21830;&#24215;&#12290;&#24403;&#20889;&#36825;&#31687;&#25991;&#31456;&#30340;&#26102;&#20505;&#65292;&#22312; Linux &#24179;&#21488;&#19978;&#65292;&#30830;&#20999;&#22320;&#35828;&#26377; 3487 &#27454;&#28216;&#25103;&#6…
在 Linux 终端上观看 YouTube 视频

视频只能在 GUI 下看么?再想想。Media

via https://linux.cn/article-10412-1.html
&#22312; Linux &#32456;&#31471;&#19978;&#35266;&#30475; YouTube &#35270;&#39057;

&#35270;&#39057;&#21482;&#33021;&#22312; GUI &#19979;&#30475;&#20040;&#65311;&#20877;&#24819;&#24819;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/04/094842dm9jhmg99meolcqm.png">Media</a>&#25105;&#20204;&#21363;&#23558;&#32467;&#26463;&#20026;&#26399; 24 &#22825;&#30340; Linux &#21629;&#20196;&#34892;&#29609;&#20855;&#26085;&#21382;&#12290;&#24076;&#26395;&#20320;&#19968;&#30452;&#22312;&#30475;&#65292;&#22914;&#26524;&#27809;&#26377;&#65292;&#35831;&#22238;&#21040;<a href="https://opensource.com/article/18/12/linux-toy-boxes">&#36825;&#37324;</a>&#24320;&#22987;&#65292;&#33258;&#24049;&#35797;&#35797;&#12290;&#20320;&#20250;&#21457;&#29616; Linux &#32456;&#31471;&#26377;&#24456;&#22810;&#28216;&#25103;&#65292;&#28040;&#36963;&#21644;&#22855;&#24618;&#30340;&#19996;&#35199;&#12290;&#34429;&#28982;&#20320;&#20043;&#21069;&#21487;&#33021;&#24050;&#32463;&#30475;&#36807;&#25105;&#20204;&#26085;&#21382;&#20013;&#30340;&#19968;&#20123;&#29609;&#20855;&#65292;&#20294;&#25105;&#20204;&#24076;&#26395;&#23545;&#27599;&#20010;&#20154;&#33267;&#23569;&#26377;&#19968;&#20010;&#26032;&#20107;&#29289;&#12290;&#20170;&#22825;&#25105;&#20204;&#35201;&#22312;&#26152;&#22825;&#30340;&#29609;&#20855; <a href="https://linux.cn/article-10393-1.html">MPlayer</a> &#19978;&#20877;&#21152;&#19978;&#19968;&#20010; <a href="https://rg3.github.io/youtube-dl/">youtube-dl</a>&#12290;&#27491;&#22914;&#20854;&#21517;&#31216;&#25152;&#26263;&#31034;&#30340;&#37027;&#26679;&#65292;youtube-dl &#26159;&#19968;&#20010;&#29992;&#20110;&#19979;&#36733; YouTube &#35270;&#39057;&#30340;&#21629;&#20196;&#34892;&#31243;&#24207;&#65292;&#20294;&#23427;&#20063;&#21487;&#20197;&#20174;&#20854;&#20182;&#35768;&#22810;&#31449;&#28857;&#19979;&#36733;&#35270;&#39057;&#65292;&#32780;&#19988;&#23427;&#26159;&#19968;&#20010;&#26377;&#30528;<a href="https://github.com/rg3/youtube-dl/blob/master/README.md#readme">&#20016;&#23500;&#25991;&#26723;</a>&#30340;&#21151;&#33021;&#40784;&#20840;&#30340;&#31243;&#24207;&#65292;&#20174;&#32780;&#20351;&#35270;&#39057;&#33719;&#21462;&#21464;&#24471;&#23481;&#26131;&#12290;&#27880;&#24847;&#65306;&#35831;&#21247;&#22312;&#20219;&#20309;&#36829;&#21453;&#20320;&#25152;&#22312;&#21496;&#27861;&#36758;&#21306;&#30340;&#29256;&#26435;&#27861;&#30340;&#24773;&#20917;&#19979;&#20351;&#29992; youtube-dl&#12290;youtube-dl &#20351;&#29992;&#30340;&#26159; <a href="https://unlicense.org/">Unlicense</a> &#36825;&#20010;&#20844;&#20849;&#39046;&#22495;&#35768;&#21487;&#65292;&#31867;&#20284;&#20110; Creative Common &#30340; <a href="https://creativecommons.org/share-your-work/public-domain/cc0/">CC0</a>&#12290;&#36825;&#37324;&#36824;&#26377;&#21738;&#20123;&#20844;&#20849;&#39046;&#22495;&#36129;&#29486;&#36866;&#29992;&#20110;&#24320;&#28304;&#39046;&#22495;&#30340;<a href="https://opensource.org/faq#public-domain">&#27861;&#24459;&#24847;&#35265;</a>&#65292;&#20294;&#23427;&#36890;&#24120;&#34987;&#35748;&#20026;&#19982;&#29616;&#26377;&#30340;&#24320;&#28304;&#35768;&#21487;&#35777;&#20860;&#23481;&#65292;&#21363;&#20351;&#26159;&#19981;&#25512;&#33616;&#20351;&#29992;&#23427;&#30340;&#32452;&#32455;&#20063;&#26159;&#22914;&#27492;&#12290;&#26368;&#31616;&#21333;&#22320;&#65292;&#25105;&#20204;&#23558;&#20351;&#29992; youtube-dl &#26469;&#33719;&#21462;&#35270;&#39057;&#20197;&#20415;&#22312;&#32456;&#31471;&#20013;&#25773;&#25918;&#12290;&#39318;&#20808;&#65292;&#20351;&#29992;&#36866;&#29992;&#20110;&#20320;&#21457;&#34892;&#29256;&#30340;&#26041;&#27861;<a href="https://github.com/rg3/youtube-dl/blob/master/README.md#installation">&#23433;&#35013;</a>&#23427;&#12290;&#23545;&#25105;&#26469;&#35828;&#65292;&#22312; Fedora &#20013;&#65292;&#23427;&#34987;&#25171;&#21253;&#22312;&#25105;&#30340;&#20179;&#24211;&#20013;&#65292;&#22240;&#27492;&#23433;&#35013;&#38750;&#24120;&#31616;&#21333;&#65306;<pre class="prettyprint linenums">$ sudo dnf…
使用 Xfce Linux 桌面环境的 8 个理由

整体上很优雅的 Xfce 桌面所具备的足够轻巧和快速的特性能够让它很容易都知道如何做好一件事。Media

via https://linux.cn/article-10413-1.html
&#20351;&#29992; Xfce Linux &#26700;&#38754;&#29615;&#22659;&#30340; 8 &#20010;&#29702;&#30001;

&#25972;&#20307;&#19978;&#24456;&#20248;&#38597;&#30340; Xfce &#26700;&#38754;&#25152;&#20855;&#22791;&#30340;&#36275;&#22815;&#36731;&#24039;&#21644;&#24555;&#36895;&#30340;&#29305;&#24615;&#33021;&#22815;&#35753;&#23427;&#24456;&#23481;&#26131;&#37117;&#30693;&#36947;&#22914;&#20309;&#20570;&#22909;&#19968;&#20214;&#20107;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/04/224757c2dxwzkaw2ue5jwc.png">Media</a>&#30001;&#20110;&#26576;&#20123;&#21407;&#22240;&#65288;&#20063;&#21253;&#25324;&#22909;&#22855;&#65289;&#65292;&#20960;&#21608;&#21069;&#25105;&#24320;&#22987;&#20351;&#29992; <a href="https://xfce.org/">Xfce</a> &#20316;&#20026;&#25105;&#30340; Linux &#26700;&#38754;&#12290;&#20419;&#20351;&#25105;&#26356;&#25442; Linux &#26700;&#38754;&#29615;&#22659;&#30340;&#21407;&#22240;&#20043;&#19968;&#26159;&#26700;&#38754;&#30456;&#20851;&#30340;&#23432;&#25252;&#36827;&#31243;&#21344;&#25454;&#20102;&#25105;&#30340;&#24615;&#33021;&#38750;&#24120;&#24378;&#22823;&#30340;&#20027;&#24037;&#20316;&#31449;&#30340;&#32477;&#22823;&#37096;&#20998; CPU &#36164;&#28304;&#21644; I/O &#24102;&#23485;&#12290;&#24403;&#28982;&#65292;&#26377;&#20123;&#19981;&#31283;&#23450;&#24615;&#21487;&#33021;&#26159;&#22240;&#20026;&#25105;&#21024;&#38500;&#20102;&#25552;&#20379;&#36825;&#20123;&#23432;&#25252;&#36827;&#31243;&#30340; RPM &#21253;&#12290;&#28982;&#32780;&#65292;&#20107;&#23454;&#26159;&#22312;&#25105;&#21024;&#38500;&#36825;&#20123; RPM &#21253;&#20043;&#21069;&#65292;KDE &#23601;&#24050;&#32463;&#24456;&#19981;&#31283;&#23450;&#20102;&#32780;&#19988;&#36824;&#23548;&#33268;&#20102;&#19968;&#31995;&#21015;&#20854;&#20182;&#26041;&#38754;&#30340;&#24615;&#33021;&#21644;&#31283;&#23450;&#24615;&#38382;&#39064;&#12290;&#25152;&#20197;&#25105;&#38656;&#35201;&#25442;&#19968;&#20010;&#26700;&#38754;&#26469;&#36991;&#20813;&#36825;&#20123;&#38382;&#39064;&#12290;&#22312;&#22238;&#39038;&#20102;&#25105;&#20026; Linux &#26700;&#38754;&#25152;&#20889;&#30340;&#19968;&#31995;&#21015;&#25991;&#31456;&#21518;&#25105;&#25165;&#24847;&#35782;&#21040;&#25105;&#24573;&#30053;&#20102; Xfce&#12290;&#36825;&#31687;&#25991;&#31456;&#20063;&#26159;&#21147;&#22270;&#33021;&#22815;&#32416;&#27491;&#24357;&#34917;&#36825;&#20010;&#30095;&#24573;&#12290;&#25105;&#38750;&#24120;&#21916;&#27426; Xfce &#20063;&#24456;&#20139;&#21463;&#23427;&#25152;&#24102;&#32473;&#25105;&#36229;&#20046;&#39044;&#26399;&#30340;&#24555;&#36895;&#12289;&#36731;&#37327;&#30340;&#20307;&#39564;&#12290;&#20316;&#20026;&#30740;&#31350;&#30340;&#19968;&#37096;&#20998;&#65292;&#25105;&#26377;&#23581;&#35797;&#36807;&#22312; Google &#19978;&#26597;&#35810; Xfce &#23545;&#24212;&#20160;&#20040;&#24847;&#24605;&#12290;&#26377;&#20010;&#21382;&#21490;&#21442;&#32771;&#26159;&#23427;&#23545;&#24212;&#30528; “XForms Common Environment”&#65292;&#20294; Xfce &#26089;&#24050;&#19981;&#22312;&#20351;&#29992; XForms &#24037;&#20855;&#12290;&#20960;&#24180;&#21069;&#65292;&#25105;&#25214;&#21040;&#21478;&#19968;&#20010;&#21442;&#32771;&#26159; “Xtra fine computing environment” &#32780;&#19988;&#25105;&#20063;&#24456;&#21916;&#27426;&#36825;&#20010;&#35299;&#37322;&#12290;&#25105;&#23558;&#20250;&#29992;&#23427;&#20316;&#20026; Xfce &#30340;&#20840;&#31216;&#65288;&#23613;&#31649;&#20877;&#20063;&#25214;&#19981;&#21040;&#36825;&#20010;&#21442;&#32771;&#39029;&#38754;&#65289;&#12290;&#25512;&#33616; Xfce &#30340; 8 &#20010;&#29702;&#30001;1&#12289;&#36731;&#37327;&#32423;&#26550;&#26500;Xfce &#30456;&#23545;&#20110;&#20854;&#20182;&#30340;&#26700;&#38754;&#22914; KDE &#21644; GNOME&#65292;&#19981;&#31649;&#26159;&#20869;&#23384;&#36824;&#26159; CPU &#30340;&#21344;&#29992;&#29575;&#37117;&#38750;&#24120;&#23567;&#12290;&#22312;&#25105;&#30340;&#31995;&#32479;&#20013;&#65292;&#32452;&#25104; Xfce &#26700;&#38754;&#30340;&#31243;&#24207;&#20165;&#21344;&#29992;&#20102;&#23569;&#37…
McFly:利用神经网络为 Bash 提供历史命令搜索功能

McFly 是一个使用 Rust 编程语言写就的简洁工具,自带一个智能的搜索引擎,用来替换默认的 Ctrl+r 这个 Bash 历史命令搜索功能。 McFly 提供的命令建议都是通过一个小巧的 神经网络 来实时排序给出的。Media

via https://linux.cn/article-10414-1.html
McFly&#65306;&#21033;&#29992;&#31070;&#32463;&#32593;&#32476;&#20026; Bash &#25552;&#20379;&#21382;&#21490;&#21629;&#20196;&#25628;&#32034;&#21151;&#33021;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/04/232508t98p95pyp5ww2h9w.png">Media</a>&#20551;&#22914;&#20320;&#22312;&#21629;&#20196;&#34892;&#27169;&#24335;&#19979;&#28193;&#36807;&#20102;&#24456;&#38271;&#26102;&#38388;&#65292;&#37027;&#20040;&#20320;&#24517;&#23450;&#20351;&#29992;&#36807;&#25110;&#32773;&#21548;&#35828;&#36807; BASH &#30340; <strong>&#21453;&#21521;&#25628;&#32034;</strong> &#21151;&#33021;&#65292;&#22312; Bash &#20013;&#25191;&#34892;&#21453;&#21521;&#25628;&#32034;&#21151;&#33021;&#30340;&#24555;&#25463;&#38190;&#26159; Ctrl+r&#12290;&#36890;&#36807;&#20351;&#29992;&#36825;&#20010;&#29305;&#24615;&#65292;&#25105;&#20204;&#21487;&#20197;&#25214;&#21040;&#25105;&#20204;&#25191;&#34892;&#36807;&#30340;&#21629;&#20196;&#32780;&#26080;&#38656;&#20877;&#27425;&#36755;&#20837;&#23427;&#20204;&#12290;&#24403;&#28982;&#65292;&#20320;&#21487;&#20197;&#20351;&#29992;&#19978;&#19979;&#38190;&#26469;&#25628;&#32034;&#20320;&#30340; bash &#21629;&#20196;&#35760;&#24405;&#65292;&#20294;&#20351;&#29992; Ctrl+r &#24555;&#25463;&#38190;&#21487;&#20197;&#35753;&#36825;&#20010;&#25628;&#32034;&#36807;&#31243;&#26356;&#31616;&#21333;&#24555;&#36895;&#12290;&#20170;&#22825;&#25105;&#25214;&#23547;&#21040;&#20102; Bash &#21382;&#21490;&#21629;&#20196;&#25628;&#32034;&#29305;&#24615; Ctrl+r &#30340;&#19968;&#20010;&#26367;&#20195;&#21697;&#65292;&#23427;&#23601;&#26159; McFly&#12290;McFly &#26159;&#19968;&#20010;&#20351;&#29992; Rust &#32534;&#31243;&#35821;&#35328;&#20889;&#23601;&#30340;&#31616;&#27905;&#24037;&#20855;&#65292;&#33258;&#24102;&#19968;&#20010;&#26234;&#33021;&#30340;&#25628;&#32034;&#24341;&#25806;&#65292;&#29992;&#26469;&#26367;&#25442;&#40664;&#35748;&#30340; Ctrl+r &#36825;&#20010; Bash &#21382;&#21490;&#21629;&#20196;&#25628;&#32034;&#21151;&#33021;&#12290; McFly &#25552;&#20379;&#30340;&#21629;&#20196;&#24314;&#35758;&#37117;&#26159;&#36890;&#36807;&#19968;&#20010;&#23567;&#24039;&#30340; <strong>&#31070;&#32463;&#32593;&#32476;</strong> &#26469;&#23454;&#26102;&#25490;&#24207;&#32473;&#20986;&#30340;&#12290;McFly &#37325;&#26032;&#32465;&#23450;&#20102; Ctrl+r &#24555;&#25463;&#38190;&#65292;&#21487;&#20197;&#20174;&#20320;&#30340; Bash &#21382;&#21490;&#21629;&#20196;&#20013;&#25214;&#21040;&#25152;&#26377;&#26368;&#36817;&#25191;&#34892;&#36807;&#30340;&#21629;&#20196;&#12290;&#23427;&#36890;&#36807;&#36861;&#28335;&#19979;&#38754;&#30340;&#20449;&#24687;&#26469;&#22686;&#24378;&#20320;&#30340; shell &#21382;&#21490;&#21629;&#20196;&#25628;&#32034;&#29305;&#24615;&#65306;&#21629;&#20196;&#32467;&#26463;&#29366;&#24577;&#24403;&#20320;&#36816;&#34892;&#21629;&#20196;&#26102;&#30340;&#26102;&#38388;&#25139;&#20197;&#21450;&#20320;&#36816;&#34892;&#21629;&#20196;&#30340;&#25191;&#34892;&#30446;&#24405;&#23427;&#23558;&#25152;&#26377;&#36861;&#28335;&#30340;&#20449;&#24687;&#20445;&#23384;&#22312;&#19968;&#20010; SQLite &#25968;&#25454;&#24211;&#20013;&#12290;&#30001;&#20110;&#23427;&#36861;&#28335;&#20102;&#21629;&#20196;&#30340;&#21382;&#21490;&#32467;&#26463;&#29366;&#24577;&#65292;&#25152;&#20197;&#20320;&#21487;&#20197;&#24456;&#36731;&#26131;&#22320;&#24573;&#30053;&#25481;&#22833;&#36133;&#30340;&#21629;&#20196;&#12290;&#21548;&#36215;&#26469;&#24456;&#37239;&#65292;&#23545;&#21543;&#65311;&#22312;&#32473;&#20986;&#19968;&#20010;&#21629;&#20196;&#24314;&#35758;&#26102;&#65292;&#23427;&#23558;&#32771;&#34385;&#22914;&#19979;&#22240;&#32032;&#65306;&#20320;&#22312;&#21738;&#20010;&#30446;&#24405;&#25191;&#34892;&#30340;&#36825;&#20010;&#21629;&#20196;&#65292;&#23558;&#26469;&#20320;&#24456;&#26377;&#21487;&#33021;&#22312;&#30456;&#21516;&#30340;&#30446;&#24405;&#37325;&#22797;&#36825;&#20010;&#21629;&#20196;&#22312;&#20320;&#25191;&#34892;&#36825;&#20010;&#21629;&#20196;&#20043;&#21069;&#65292;&#25191;&#34892;&#36807;&#20160;&#2…
用 PGP 保护代码完整性(五):将子密钥移到一个硬件设备中

在这个系列教程中,将为你提供使用 PGP 和保护你的私钥的最佳体验。Media

via https://linux.cn/article-10415-1.html
&#29992; PGP &#20445;&#25252;&#20195;&#30721;&#23436;&#25972;&#24615;&#65288;&#20116;&#65289;&#65306;&#23558;&#23376;&#23494;&#38053;&#31227;&#21040;&#19968;&#20010;&#30828;&#20214;&#35774;&#22791;&#20013;

&#22312;&#36825;&#20010;&#31995;&#21015;&#25945;&#31243;&#20013;&#65292;&#23558;&#20026;&#20320;&#25552;&#20379;&#20351;&#29992; PGP &#21644;&#20445;&#25252;&#20320;&#30340;&#31169;&#38053;&#30340;&#26368;&#20339;&#20307;&#39564;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/05/001540guuubwk558wvc8sx.jpg">Media</a>&#22312;&#26412;&#31995;&#21015;&#25945;&#31243;&#20013;&#65292;&#25105;&#20204;&#23558;&#25552;&#20379;&#19968;&#20010;&#20351;&#29992; PGP &#30340;&#23454;&#29992;&#25351;&#21335;&#12290;&#22914;&#26524;&#20320;&#27809;&#26377;&#30475;&#36807;&#21069;&#38754;&#30340;&#25991;&#31456;&#65292;&#20320;&#21487;&#20197;&#36890;&#36807;&#19979;&#38754;&#30340;&#38142;&#25509;&#21435;&#26597;&#30475;&#12290;&#22312;&#36825;&#31687;&#25991;&#31456;&#20013;&#65292;&#25105;&#20204;&#23558;&#32487;&#32493;&#35752;&#35770;&#22914;&#20309;&#20445;&#25252;&#20320;&#30340;&#23494;&#38053;&#65292;&#35848;&#19968;&#35848;&#23558;&#20320;&#30340;&#23376;&#23494;&#38053;&#31227;&#21040;&#19968;&#20010;&#19987;&#38376;&#30340;&#30828;&#20214;&#35774;&#22791;&#20013;&#30340;&#19968;&#20123;&#25216;&#24039;&#12290;<a href="https://linux.cn/article-9524-1.html">&#31532;&#19968;&#37096;&#20998;&#65306;&#22522;&#26412;&#27010;&#24565;&#21644;&#24037;&#20855;</a><a href="https://linux.cn/article-9529-1.html">&#31532;&#20108;&#37096;&#20998;&#65306;&#29983;&#25104;&#20320;&#30340;&#20027;&#23494;&#38053;</a><a href="https://linux.cn/article-9607-1.html">&#31532;&#19977;&#37096;&#20998;&#65306;&#29983;&#25104; PGP &#23376;&#23494;&#38053;</a><a href="https://linux.cn/article-10402-1.html">&#31532;&#22235;&#37096;&#20998;&#65306;&#23558;&#20027;&#23494;&#38053;&#31227;&#21040;&#31163;&#32447;&#23384;&#20648;&#20013;</a>&#28165;&#21333;&#21462;&#24471;&#19968;&#20010; GnuPG &#20860;&#23481;&#30340;&#30828;&#20214;&#35774;&#22791;&#65288;&#24517;&#35201;&#65289;&#37197;&#32622; GnuPG &#22312;&#35774;&#22791;&#19978;&#24037;&#20316;&#65288;&#24517;&#35201;&#65289;&#35774;&#32622;&#29992;&#25143;&#21644;&#31649;&#29702;&#21592;&#30340; PIN&#65288;&#24517;&#35201;&#65289;&#31227;&#21160;&#23376;&#23494;&#38053;&#21040;&#35774;&#22791;&#20013;&#65288;&#24517;&#35201;&#65289;&#32771;&#34385;&#20107;&#39033;&#34429;&#28982;&#29616;&#22312;&#20027;&#23494;&#38053;&#24050;&#32463;&#19981;&#29992;&#25285;&#24515;&#27844;&#38706;&#25110;&#22833;&#31363;&#20102;&#65292;&#20294;&#23376;&#23494;&#38053;&#20173;&#28982;&#22312;&#20320;&#30340;&#23478;&#30446;&#24405;&#20013;&#12290;&#20219;&#20309;&#24471;&#21040;&#23427;&#30340;&#20154;&#37117;&#33021;&#22815;&#35299;&#23494;&#20320;&#30340;&#36890;&#35759;&#25110;&#20551;&#20882;&#20320;&#30340;&#31614;&#21517;&#65288;&#22914;&#26524;&#20182;&#20204;&#30693;&#36947;&#23494;&#38053;&#30340;&#23494;&#30721;&#65289;&#12290;&#24182;&#19988;&#65292;&#27599;&#27425;&#25191;&#34892;&#19968;&#20010; GnuPG &#25805;&#20316;&#37117;&#35201;&#23558;&#23494;&#38053;&#21152;&#36733;&#21040;&#25805;&#20316;&#31995;&#32479;&#20869;&#23384;&#20013;&#65292;&#36825;&#23558;&#20351;&#19968;&#20123;&#26356;&#39640;&#32423;&#30340;&#24694;&#24847;&#36719;&#20214;&#26377;&#26426;&#20250;&#24471;&#21040;&#20320;&#30340;&#23494;&#38053;&#65288;&#24819;&#24819; Meltdown &#21644; Spectre&#65289;&#12290;&#23436;&#20840;&#20445;&#25252;&#23494;&#38053;&#30340;&#26368;&#22909;&#26041;&#24335;&#23601;&#26159;&#65292;&#23558;&#23427;&#31227;&#21040;&#19968;&#20010;&#19987;&#38376;&#30340;&#30828;&#20214;&#35774;&#22791;&#20013;&#65292;&#36825;&#31181;&#30828;&#20214;&#35774;&#22791;&#26159;&#19968;&#20010;&#21487;&#25805;&#20316;&#30340;&#26234;&#33021;&#21345;&#12290;&#26234;&#33021;&#21345;&#30340;&#22909;&#22788;&#19968;&#20010;&#26234;&#33021;&#21345;&#21253;&#21547;&#19968;&#20010;&#21152;&#23494;&#33455;&…
让 Linux 终端说出它的想法

eSpeak 是一个可在 Linux 命令行中使用的开源的 TTS 合成器。Media

via https://linux.cn/article-10416-1.html
&#35753; Linux &#32456;&#31471;&#35828;&#20986;&#23427;&#30340;&#24819;&#27861;

eSpeak &#26159;&#19968;&#20010;&#21487;&#22312; Linux &#21629;&#20196;&#34892;&#20013;&#20351;&#29992;&#30340;&#24320;&#28304;&#30340; TTS &#21512;&#25104;&#22120;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/05/154129z41mh4s61bf6q0bt.png">Media</a>&#27426;&#36814;&#22238;&#21040;&#12298;24 &#22825;&#20171;&#32461; Linux &#21629;&#20196;&#34892;&#23567;&#29609;&#20855;&#12299;&#12290;&#22914;&#26524;&#36825;&#26159;&#20320;&#39318;&#27425;&#38405;&#35835;&#26412;&#31995;&#21015;&#25991;&#31456;&#65292;&#20320;&#21487;&#33021;&#19981;&#30693;&#36947;&#20160;&#20040;&#26159; Linux &#21629;&#20196;&#34892;&#23567;&#29609;&#20855;&#12290;&#26080;&#38656;&#25285;&#24515;&#65292;&#20320;&#21482;&#38656;&#35201;&#36793;&#30475;&#36793;&#20307;&#20250;&#12290;&#36890;&#24120;&#26469;&#35828;&#65292;&#23427;&#26377;&#21487;&#33021;&#26159;&#28216;&#25103;&#25110;&#20854;&#23427;&#33021;&#35753;&#20320;&#22312;&#32456;&#31471;&#20013;&#23089;&#20048;&#30340;&#23567;&#31243;&#24207;&#12290;&#25110;&#35768;&#20320;&#24050;&#32463;&#23545;&#19968;&#20123;&#29609;&#20855;&#26377;&#20102;&#35299;&#20102;&#65292;&#19981;&#36807;&#25105;&#20204;&#30456;&#20449;&#65292;&#22312;&#26412;&#31995;&#21015;&#25991;&#31456;&#20013;&#24635;&#26377;&#37027;&#20040;&#20960;&#20010;&#20320;&#27809;&#35265;&#36807;&#30340;&#29609;&#24847;&#12290;&#24180;&#36731;&#35835;&#32773;&#21487;&#33021;&#19981;&#30693;&#36947;&#65292;&#22312; Alexa&#12289;Siri &#25110; Google Assistant &#38382;&#19990;&#20043;&#21069;&#65292;&#35745;&#31639;&#26426;&#23601;&#33021;&#35828;&#35805;&#20102;&#12290;&#25105;&#20204;&#20063;&#35768;&#27704;&#36828;&#19981;&#20250;&#24536;&#35760;&#26469;&#33258; <a href="https://en.wikipedia.org/wiki/2001:_A_Space_Odyssey_(film)">2001 &#22826;&#31354;&#28459;&#28216;</a> &#20013;&#19982;&#26426;&#32452;&#20154;&#21592;&#20132;&#27969;&#30340; HAL 9000&#12290;&#20294;&#26159;&#22312; 1960 &#24180;&#20195;&#21040;&#20170;&#22825;&#30340;&#26102;&#38388;&#37324;&#65292;&#26159;&#23384;&#22312;&#30528;&#35768;&#22810;&#33021;&#35828;&#35805;&#30340;&#35745;&#31639;&#26426;&#30340;&#12290;&#23427;&#20204;&#26377;&#20123;&#24456;&#20986;&#33394;&#65292;&#20063;&#26377;&#20123;&#19981;&#37027;&#20040;&#20986;&#33394;&#12290;&#20854;&#20013;&#19968;&#20010;&#25105;&#26368;&#29233;&#30340;&#26159;&#19968;&#20010;&#21483;&#20570; <a href="http://espeak.sourceforge.net/">eSpeak</a> &#30340;&#24320;&#28304;&#39033;&#30446;&#12290;&#23427;&#20197;&#22810;&#31181;&#24418;&#24335;&#21457;&#24067;&#65292;&#27604;&#22914;&#21487;&#20197;&#23884;&#20837;&#20320;&#33258;&#24049;&#39033;&#30446;&#20013;&#30340;&#24211;&#12290;&#19982;&#27492;&#21516;&#26102;&#65292;&#23427;&#20063;&#25552;&#20379;&#20102;&#21487;&#20379;&#20320;&#23433;&#35013;&#30340;&#21629;&#20196;&#34892;&#29256;&#26412;&#12290;&#22312;&#25105;&#25152;&#29992;&#30340;&#21457;&#34892;&#29256;&#20013;&#65292;&#23433;&#35013;&#21313;&#20998;&#31616;&#21333;&#65292;&#21482;&#38656;&#20351;&#29992;&#65306;<pre class="prettyprint linenums">$ sudo dnf install espeak</pre>&#20320;&#26082;&#21487;&#20197;&#19982; eSpeak &#20132;&#20114;&#65292;&#20063;&#21487;&#20197;&#29992;&#23427;&#26469;&#36755;&#20986;&#20854;&#23427;&#31243;&#24207;&#30340;&#20449;&#24687;&#65292;&#29978;&#33267;&#36890;&#36807;&#31616;&#21333;&#30340; echo &#21629;&#20196;&#26469;&#20351;&#29992;&#23427;&#12290;<a href="http://espeak.sourceforge.net/voices.html">&#36825;&#37324;</a> &#26377;&#19968;&#20123;&#21487;&#20379; eSpeak &#20351;&#29992;&#30340;&#22768;&#38899;&#25991;&#20214;&#65292;&#20320;&#21487;&#20197;&#22312;&#26080;&#32842;&#26102;&#20999;&#25442;&#20182;&#20204;&#12290;&#29978;&#32773;&#20320;&#21487;&#20197;&#21046;&#20316;&#19968;&#20010;&#23646;&#20110;&#20320;&#33258;&#24049;&#30340;&#22768;&#38899;&#12290;&#22312; 2015 &#24180;&#65292;&#19968;&#20123;&#24076;&#26395;&#32487;&#32493; eSpeak &#2…
如何用 Gonimo 创建一个免费的婴儿监视系统

当你可以用两个设备、浏览器和网络连接就能免费搭建一个婴儿监视器时,谁还会花钱去买呢?Media

via https://linux.cn/article-10417-1.html
&#22914;&#20309;&#29992; Gonimo &#21019;&#24314;&#19968;&#20010;&#20813;&#36153;&#30340;&#23156;&#20799;&#30417;&#35270;&#31995;&#32479;

&#24403;&#20320;&#21487;&#20197;&#29992;&#20004;&#20010;&#35774;&#22791;&#12289;&#27983;&#35272;&#22120;&#21644;&#32593;&#32476;&#36830;&#25509;&#23601;&#33021;&#20813;&#36153;&#25645;&#24314;&#19968;&#20010;&#23156;&#20799;&#30417;&#35270;&#22120;&#26102;&#65292;&#35841;&#36824;&#20250;&#33457;&#38065;&#21435;&#20080;&#21602;&#65311;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/05/203201zgxa7o1glvleu1qq.png">Media</a>&#26032;&#29238;&#27597;&#21644;&#20934;&#29238;&#27597;&#24456;&#24555;&#23601;&#20250;&#30693;&#36947;&#23558;&#20250;&#26377;&#19968;&#20010;&#26082;&#38271;&#19988;&#26114;&#36149;&#30340;&#26032;&#29983;&#20799;&#25152;&#38656;&#35774;&#22791;&#30340;&#28165;&#21333;&#65292;&#28165;&#21333;&#20013;&#30340;&#39318;&#20301;&#26159;&#19968;&#20010;&#23156;&#20799;&#30417;&#35270;&#22120;&#65292;&#20511;&#27492;&#20182;&#20204;&#21487;&#20197;&#22312;&#20570;&#20854;&#20182;&#20107;&#24773;&#26102;&#29031;&#30475;&#33258;&#24049;&#30340;&#23156;&#20799;&#65292;&#20294;&#36825;&#20799;&#26377;&#19968;&#20214;&#19981;&#24517;&#28040;&#32791;&#20320;&#30340;&#23156;&#20799;&#32463;&#36153;&#30340;&#35774;&#22791;&#65292;Gonimo &#26159;&#19968;&#20010;&#21487;&#20197;&#23558;&#29616;&#26377;&#30340;&#35774;&#22791;&#36716;&#25442;&#25104;&#23156;&#20799;&#30417;&#25511;&#31995;&#32479;&#30340;&#33258;&#30001;&#24320;&#28304;&#35299;&#20915;&#26041;&#26696;&#65292;&#38468;&#36817;&#22823;&#22411;&#23156;&#20799;&#29992;&#21697;&#21830;&#24215;&#30340;&#36807;&#36947;&#20013;&#26377;&#25968;&#20197;&#21315;&#35745;&#30340;&#20854;&#20182;&#24517;&#22791;&#25110;&#26102;&#23578;&#29289;&#21697;&#65292;&#23601;&#21487;&#20197;&#20026;&#20854;&#20013;&#26576;&#19968;&#20010;&#33150;&#20986;&#19968;&#20123;&#23156;&#20799;&#30340;&#39044;&#31639;&#12290;Gonimo &#35806;&#29983;&#26102;&#65292;&#23427;&#30340;&#24320;&#21457;&#32773;&#65292;&#19968;&#20010;&#26377;&#21452;&#32990;&#32974;&#30340;&#24320;&#28304;&#31881;&#19997;&#65292;&#21457;&#29616;&#29616;&#26377;&#36873;&#25321;&#23384;&#22312;&#38382;&#39064;&#65306;&#29616;&#26377;&#30828;&#20214;&#23156;&#20799;&#30417;&#35270;&#22120;&#20215;&#26684;&#26114;&#36149;&#65292;&#20351;&#29992;&#33539;&#22260;&#26377;&#38480;&#65292;&#38656;&#35201;&#24744;&#24102;&#30528;&#39069;&#22806;&#30340;&#35774;&#22791;&#12290;&#34429;&#28982;&#26377;&#31227;&#21160;&#30417;&#25511;&#24212;&#29992;&#31243;&#24207;&#65292;&#20294;&#22823;&#22810;&#25968;&#29616;&#26377;&#30340; iOS / Android &#23156;&#20799;&#30417;&#25511;&#24212;&#29992;&#31243;&#24207;&#37117;&#19981;&#21487;&#38752;&#19988;&#19981;&#23433;&#20840;&#65292;&#19981;&#22826;&#23481;&#26131;&#25214;&#21040;&#24320;&#28304;&#20135;&#21697;&#12290;&#22914;&#26524;&#24744;&#26377;&#20004;&#20010;&#23567;&#23401;&#65288;&#20363;&#22914;&#21452;&#32990;&#32974;&#65289;&#65292;&#24744;&#23558;&#38656;&#35201;&#20004;&#21488;&#30417;&#35270;&#22120;&#65292;&#20351;&#24744;&#30340;&#25104;&#26412;&#32763;&#20493;&#12290;Gonimo &#26159;&#20316;&#20026;&#19968;&#20010;&#35299;&#20915;&#20856;&#22411;&#30340;&#30417;&#35270;&#22120;&#30340;&#32570;&#28857;&#30340;&#24320;&#28304;&#35299;&#20915;&#26041;&#26696;&#32780;&#21019;&#24314;&#30340;&#65306;&#26114;&#36149;&#65311;&#19981;&#65292;&#23427;&#26159;&#20813;&#36153;&#30340;&#65281;&#20351;&#29992;&#33539;&#22260;&#26377;&#38480;&#65311;&#19981;&#65292;&#23427;&#36866;&#29992;&#20110;&#20114;&#32852;&#32593; / WiFi&#65292;&#26080;&#35770;&#24744;&#36523;&#22312;&#20309;&#22788;&#12290;&#19979;&#36733;&#24182;&#23433;&#35013;&#24212;&#29992;&#31243;&#24207;&#65311;&#22114;&#19981;&#65292;&#23427;&#36866;&#29992;&#20110;&#24744;&#29616;&#26377;&#30340;&#32593;&#32476;&#27983;&#35272;&#22120;&#12290;&#36141;&#20080;&#26032;&#35774;&#22791;&#65311;&#19981;&#29992;&#65292;&#20320;&#21487;&#20197;&#20351;&#29992;&#20219;&#…
在 Linux 上使用 tarball

Tarball 提供了一种在 Linux 系统上备份和管理一组文件的通用方法。请按照以下提示了解如何创建它们,以及从中提取和删除单个文件。Media

via https://linux.cn/article-10418-1.html
&#22312; Linux &#19978;&#20351;&#29992; tarball

Tarball &#25552;&#20379;&#20102;&#19968;&#31181;&#22312; Linux &#31995;&#32479;&#19978;&#22791;&#20221;&#21644;&#31649;&#29702;&#19968;&#32452;&#25991;&#20214;&#30340;&#36890;&#29992;&#26041;&#27861;&#12290;&#35831;&#25353;&#29031;&#20197;&#19979;&#25552;&#31034;&#20102;&#35299;&#22914;&#20309;&#21019;&#24314;&#23427;&#20204;&#65292;&#20197;&#21450;&#20174;&#20013;&#25552;&#21462;&#21644;&#21024;&#38500;&#21333;&#20010;&#25991;&#20214;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/05/215151s2zqe3qzcd43f3ls.jpg">Media</a>“tarball” &#65288;LCTT &#35793;&#27880;&#65306;&#22269;&#20869;&#20063;&#24120;&#31216;&#20026;“tar &#21253;”&#65289;&#19968;&#35789;&#36890;&#24120;&#29992;&#20110;&#25551;&#36848;&#22791;&#20221;&#19968;&#32452;&#36873;&#25321;&#30340;&#25991;&#20214;&#24182;&#23558;&#23427;&#20204;&#25171;&#21253;&#22312;&#19968;&#20010;&#25991;&#20214;&#20013;&#30340;&#19968;&#31181;&#25991;&#20214;&#26684;&#24335;&#12290;&#35813;&#21517;&#31216;&#26469;&#33258; .tar &#25991;&#20214;&#25193;&#23637;&#21517;&#21644; tar &#21629;&#20196;&#65292;&#23427;&#29992;&#20110;&#23558;&#25991;&#20214;&#25171;&#21253;&#21040;&#19968;&#20010;&#25991;&#20214;&#20013;&#65292;&#26377;&#26102;&#36824;&#20250;&#21387;&#32553;&#35813;&#25991;&#20214;&#65292;&#20351;&#20854;&#22312;&#31227;&#21160;&#21040;&#20854;&#23427;&#31995;&#32479;&#26102;&#26356;&#23567;&#12290;tarball &#36890;&#24120;&#29992;&#20110;&#22791;&#20221;&#20010;&#20154;&#25110;&#31995;&#32479;&#25991;&#20214;&#26469;&#21019;&#24314;&#23384;&#26723;&#65292;&#29305;&#21035;&#26159;&#22312;&#36827;&#34892;&#21487;&#33021;&#38656;&#35201;&#25764;&#28040;&#30340;&#26356;&#25913;&#20043;&#21069;&#12290;&#20363;&#22914;&#65292;Linux &#31995;&#32479;&#31649;&#29702;&#21592;&#36890;&#24120;&#20250;&#22312;&#26356;&#25913;&#24212;&#29992;&#20043;&#21069;&#21019;&#24314;&#21253;&#21547;&#19968;&#31995;&#21015;&#37197;&#32622;&#25991;&#20214;&#30340; tarball&#65292;&#20197;&#38450;&#24517;&#39035;&#25764;&#28040;&#36825;&#20123;&#26356;&#25913;&#12290;&#20174; tarball &#20013;&#35299;&#21387;&#25991;&#20214;&#36890;&#24120;&#27604;&#22312;&#22791;&#20221;&#20013;&#25628;&#32034;&#25991;&#20214;&#24555;&#12290;&#22914;&#20309;&#22312; Linux &#19978;&#21019;&#24314; tarball&#20351;&#29992;&#22914;&#19979;&#21629;&#20196;&#65292;&#20320;&#21487;&#20197;&#22312;&#21333;&#26465;&#21629;&#20196;&#20013;&#21019;&#24314; tarball &#24182;&#21387;&#32553;&#23427;&#12290;<pre class="prettyprint linenums">$ tar -cvzf PDFs.tar.gz *.pdf</pre>&#20854;&#32467;&#26524;&#26159;&#19968;&#20010;&#21387;&#32553;&#25991;&#20214;&#65288;gzip &#21387;&#32553;&#30340;&#65289;&#65292;&#20854;&#20013;&#21253;&#21547;&#20102;&#24403;&#21069;&#30446;&#24405;&#20013;&#30340;&#25152;&#26377; PDF &#25991;&#20214;&#12290;&#24403;&#28982;&#65292;&#21387;&#32553;&#26159;&#21487;&#36873;&#30340;&#12290;&#19968;&#20010;&#31245;&#24494;&#31616;&#21333;&#30340;&#21482;&#26159;&#23558; PDF &#25991;&#20214;&#25171;&#21253;&#25104;&#26410;&#21387;&#32553; tarball &#30340;&#21629;&#20196;&#65306;<pre class="prettyprint linenums">$ tar -cvf PDFs.tar *.pdf</pre>&#27880;&#24847;&#65292;&#36873;&#39033;&#20013;&#30340; z &#23558;&#25991;&#20214;&#21464;&#25104;&#21387;&#32553;&#30340;&#12290; c &#34920;&#26126;&#21019;&#24314;&#25991;&#20214;&#65292;v&#65288;&#35814;&#32454;&#65289;&#34920;&#31034;&#20320;&#22312;&#21629;&#20196;&#36816;&#34892;&#26102;&#38656;&#35201;&#19968;&#20123;&#21453;&#39304;&#12290;&#22914;&#26524;&#20320;&#19981;&#24819;&#26597;&#30475;&#21015;&#20986;&#30340;&#25991;&#20214;&#65292;&#35831;&#24573;&#30053; v&#12290;&#21478;&#19968;&#20010;&#24120;&#35265;&#30340;&#21629;&#21517;&#32422;&#23450;&#26159;&#32473;&#21387;&#32553;&#30340; tarball &#21629;&#21517;&#25104; .tgz &#32780;&#19981;&#26159;&#21452;&#25193;&#23637;&#21517; .tar.gz&#65292;&#22914;&#19979;&#25152;&#31034;&#65306;<pre class="prettyprint linenums">$ tar cvzf MyPDFs.tgz…