From a137fb3a30652826af907fe07eda9e4cd33141d5 Mon Sep 17 00:00:00 2001 From: lctt-bot Date: Mon, 29 Apr 2019 17:00:20 +0000 Subject: [PATCH 01/12] Revert "RHSNOW is going to translating this article. (#12941)" This reverts commit a32eca9bdca0d8e201d7f25fc4321b3cdf57ea65. --- .../tech/20180116 How To Create A Bootable Zorin OS USB Drive.md | 1 - 1 file changed, 1 deletion(-) diff --git a/sources/tech/20180116 How To Create A Bootable Zorin OS USB Drive.md b/sources/tech/20180116 How To Create A Bootable Zorin OS USB Drive.md index 15043628e0..4ab7fea3f6 100644 --- a/sources/tech/20180116 How To Create A Bootable Zorin OS USB Drive.md +++ b/sources/tech/20180116 How To Create A Bootable Zorin OS USB Drive.md @@ -1,4 +1,3 @@ -RHSNOW is translating. How To Create A Bootable Zorin OS USB Drive ====== ![Zorin OS][17] From 12d918c61e1ee9580c546695bfe56407355fa8a0 Mon Sep 17 00:00:00 2001 From: lctt-bot Date: Mon, 29 Apr 2019 17:00:35 +0000 Subject: [PATCH 02/12] Revert "Update 20181231 Troubleshooting hardware problems in Linux.md" This reverts commit 1d9bf6f10e767a7159cec8615fbb0c28f99fffd8. --- .../tech/20181231 Troubleshooting hardware problems in Linux.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/tech/20181231 Troubleshooting hardware problems in Linux.md b/sources/tech/20181231 Troubleshooting hardware problems in Linux.md index 724a1c35a3..dcc89034db 100644 --- a/sources/tech/20181231 Troubleshooting hardware problems in Linux.md +++ b/sources/tech/20181231 Troubleshooting hardware problems in Linux.md @@ -1,5 +1,5 @@ [#]: collector: (lujun9972) -[#]: translator: (suphgcm) +[#]: translator: ( ) [#]: reviewer: ( ) [#]: publisher: ( ) [#]: url: ( ) From 570770450855129cc167b9ca43a029eada874177 Mon Sep 17 00:00:00 2001 From: geekpi Date: Tue, 30 Apr 2019 08:45:33 +0800 Subject: [PATCH 03/12] translated --- ... open software projects you should know.md | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/sources/tech/20190422 8 environment-friendly open software projects you should know.md b/sources/tech/20190422 8 environment-friendly open software projects you should know.md index 11885c8d2a..9d5378ddc2 100644 --- a/sources/tech/20190422 8 environment-friendly open software projects you should know.md +++ b/sources/tech/20190422 8 environment-friendly open software projects you should know.md @@ -7,33 +7,32 @@ [#]: via: (https://opensource.com/article/19/4/environment-projects) [#]: author: (Laura Hilliger https://opensource.com/users/laurahilliger) -8 environment-friendly open software projects you should know +8 个你应该了解的环保开源项目 ====== -Celebrate Earth Day by contributing to these projects dedicated to -improving our environment. +通过给这些致力于提升环境的项目做贡献来庆祝地球日。 ![][1] -For the last few years, I've been helping [Greenpeace][2] build its first fully open source software project, Planet 4. [Planet 4][3] is a global engagement platform where Greenpeace supporters and activists can interact and engage with the organization. The goal is to drive people to action on behalf of our planet. We want to invite participation and use people power to battle global issues like climate change and plastic pollution. Developers, designers, writers, contributors, and others who are looking for an open source way to support environmentalism are more than welcome to [get involved][4]! +在过去的几年里,我一直在帮助 [Greenpeace][2] 建立其第一个完全开源的项目,Planet 4. [Planet 4][3] 是一个全球参与平台,Greenpeace 的支持者和活动家可以互动并参与组织。它的目标是让人们代表我们的星球采取行动。我们希望邀请参与并利用人力来应对气候变化和塑料污染等全球性问题。它们正在寻找开发者、设计师、作者、贡献者和其他通过开源支持环保主义的人都非常欢迎[参与进来][4]! -Planet 4 is far from the only open source project focused on the environment. For Earth Day, I thought I'd share seven other open source projects that have our planet in mind. +Planet 4 远非唯一关注环境的开源项目。对于地球日,我会分享其他七个关注我们星球的开源项目。 -**[Eco Hacker Farm][5]** works to support sustainable communities. It advises and supports projects combining hackerspaces/hackbases and permaculture living. The organization also has online software projects. Visit its [wiki][6] or reach out on [Twitter][7] to learn more about what Eco Hacker Farm is doing. +**[Eco Hacker Farm][5]** 致力于支持可持续社区。它建议并支持将黑客空间/黑客基地和永续农业生活结合在一起的项目。该组织还有在线项目。访问其 [wiki][6] 或 [Twitter][7] 了解有关 Eco Hacker Farm 正在做的更多信息。 -**[Public Lab][8]** is an open community and nonprofit organization that works to put science in the hands of citizens. Formed after the BP oil disaster in 2010, Public Lab works with open source to aid environmental exploration and investigation. It's a diverse community with lots of ways to [contribute][9]. +**[Public Lab][8]** 是一个开放社区和非营利组织,它致力于将科学掌握在公民手中。它于 2010 年在 BP 石油灾难后形成,Public Lab 与开源合作,协助环境勘探和调查。它是一个多元化的社区,有很多方法可以做[贡献][9]。 -A while back, Don Watkins, a community moderator here on Opensource.com, wrote about **[Open Climate Workbench][10]** , a project from the Apache Foundation. The [OCW][11] provides software to do climate modeling and evaluation, which can have all sorts of applications. +不久前,Opensource.com 的管理 Don Watkins 撰写了一篇 **[Open Climate Workbench][10]** 的文章,该项目来自 Apache 基金会。 [OCW][11] 提供了进行气候建模和评估的软件,可用于各种应用。 -**[Open Source Ecology][12]** is a project that aims to improve how our economy functions. With an eye on environmental regeneration and social justice, the project seeks to redefine some of our dirty production and distribution techniques to create a more sustainable civilization. +**[Open Source Ecology][12]** 是一个旨在改善经济运作方式的项目。该项目着眼于环境再生和社会公正,它旨在重新定义我们的一些肮脏的生产和分配技术,以创造一个更可持续的文明。 -Fostering collaboration around open source and big data tools to enable research in ocean, atmosphere, land, and climate, " **[Pangeo][13]** is first and foremost a community promoting open, reproducible, and scalable science." Big data can change the world! +促进开源和大数据工具之间的合作,以实现海洋、大气、土地和气候的研究,“ **[Pangeo][13]** 是第一个推广开放、可重复和可扩展科学的社区。”大数据可以改变世界! -**[**Leaflet**][14]** is a well-known open source JavaScript library. It can be used for all sorts of things, including environmentally friendly projects like the [Arctic Web Map][15], which allows scientists to accurately visualize and analyze the arctic region, a critical ability for climate research. +**[Leaflet][14]** 是一个著名的开源 JavaScript 库。它可以做各种各样的事情,包括环保项目,如 [Arctic Web Map][15],它能让科学家准确地可视化和分析北极地区,这是气候研究的关键能力。 -And of course, no list would be complete (not that this is a complete list!) without pointing to my friends at Mozilla. The **[Mozilla Science Lab][16]** community is, like all of Mozilla, fiercely open, and it's committed to bringing open source principles to the scientific community. Its projects and communities enable scientists to do the sorts of research our world needs to address some of the most pervasive environmental issues. +当然,没有我在 Mozilla 的朋友就没有这个列表(不是这个完整的列表!)。**[Mozilla Science Lab][16]** 社区就像所有 Mozilla 项目一样,非常开放,它致力于将开源原则带给科学界。它的项目和社区使科学家能够进行我们世界所需的各种研究,以解决一些最普遍的环境问题。 -### How you can contribute +### 如何贡献 -This Earth Day, make a six-month commitment to contribute some of your time to an open source project that helps fight climate change or otherwise encourages people to step up for Mother Earth. There must be scores of environmentally minded open source projects out there, so please leave your favorites in the comments! +在这个地球日,做为期六个月的承诺,将一些时间贡献给一个有助于应对气候变化的开源项目,或以其他方式鼓励人们保护地球母亲。肯定还有许多关注环境的开源项目,所以请在评论中留言! -------------------------------------------------------------------------------- @@ -41,7 +40,7 @@ via: https://opensource.com/article/19/4/environment-projects 作者:[Laura Hilliger][a] 选题:[lujun9972][b] -译者:[译者ID](https://github.com/译者ID) +译者:[geekpi](https://github.com/geekpi) 校对:[校对者ID](https://github.com/校对者ID) 本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 From 37d64b8c9f031379454d9aa565b6d6be43160aec Mon Sep 17 00:00:00 2001 From: geekpi Date: Tue, 30 Apr 2019 08:46:15 +0800 Subject: [PATCH 04/12] translated --- ...environment-friendly open software projects you should know.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {sources => translated}/tech/20190422 8 environment-friendly open software projects you should know.md (100%) diff --git a/sources/tech/20190422 8 environment-friendly open software projects you should know.md b/translated/tech/20190422 8 environment-friendly open software projects you should know.md similarity index 100% rename from sources/tech/20190422 8 environment-friendly open software projects you should know.md rename to translated/tech/20190422 8 environment-friendly open software projects you should know.md From e433c27dbba39ffe0872045d4216de94726b91ec Mon Sep 17 00:00:00 2001 From: geekpi Date: Tue, 30 Apr 2019 08:53:59 +0800 Subject: [PATCH 05/12] translating --- .../20180605 How to use autofs to mount NFS shares.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sources/tech/20180605 How to use autofs to mount NFS shares.md b/sources/tech/20180605 How to use autofs to mount NFS shares.md index 815cb53708..69325a0670 100644 --- a/sources/tech/20180605 How to use autofs to mount NFS shares.md +++ b/sources/tech/20180605 How to use autofs to mount NFS shares.md @@ -1,3 +1,12 @@ +[#]: collector: (lujun9972) +[#]: translator: (geekpi) +[#]: reviewer: ( ) +[#]: publisher: ( ) +[#]: url: ( ) +[#]: subject: (How to use autofs to mount NFS shares) +[#]: via: (https://opensource.com/article/18/6/using-autofs-mount-nfs-shares) +[#]: author: (Alan Formy-Duval https://opensource.com/users/alanfdoss) + How to use autofs to mount NFS shares ====== From 19ef81248d2b803af7ef4efa3046cd2fd182583d Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Tue, 30 Apr 2019 12:22:17 +0800 Subject: [PATCH 06/12] PRF:20180828 Linux for Beginners- Moving Things Around.md @warmfrog --- ...nux for Beginners- Moving Things Around.md | 117 +++++++++--------- 1 file changed, 58 insertions(+), 59 deletions(-) diff --git a/translated/tech/20180828 Linux for Beginners- Moving Things Around.md b/translated/tech/20180828 Linux for Beginners- Moving Things Around.md index a2c10150f1..9ae8f5d3bf 100644 --- a/translated/tech/20180828 Linux for Beginners- Moving Things Around.md +++ b/translated/tech/20180828 Linux for Beginners- Moving Things Around.md @@ -1,107 +1,106 @@ -Linux 初学者: 移动文件 +Linux 初学者:移动文件 ===================== ![](https://www.linux.com/sites/lcom/files/styles/rendered_file/public/filesystem-linux.jpg?itok=NQCoYl1f) -在之前的该系列的部分中,[你学习了有关目录][1]和[访问目录的权限是如何工作的][2]。你在这些文章中学习的大多数都可应用于文件,除了如何让一个文件变得可执行。 +在之前的该系列的部分中,[你学习了有关目录][1]和[访问目录][2][的权限][7]是如何工作的。你在这些文章中学习的大多数内容都可应用于文件,除了如何让一个文件变成可执行文件。 因此让我们在开始之前先解决这个问题。 -### 不需要 .exe 文件 +### 不需要 .exe 扩展名 -在其他操作系统中,一个文件的性质通常由它的后缀决定。如果一个文件有一个 _.jpg_ 扩展,操作系统会认为它是一幅图像;如果它以 _.wav_ 结尾, 它是一个音频文件; 如果它在文件名末尾 以 _.exe_ 结尾, 它就是一个你可以执行的程序。 +在其他操作系统中,一个文件的性质通常由它的后缀决定。如果一个文件有一个 .jpg 扩展,操作系统会认为它是一幅图像;如果它以 .wav 结尾,它是一个音频文件;如果它在文件名末尾以 .exe 结尾,它就是一个你可以执行的程序。 -这导致了严重的问题,像木马伪装成文件。幸运的是,在 Linux 下事务不是这样运行的。可以确定的是,你可能会看到有些可执行文件是以 _.sh_ 结尾暗示他们是可执行的脚本,但是这大部分是为了利于人类识别的文件,和你使用 `ls --color` 的方式相同,可执行文件的名字以亮绿色显示。 +这导致了严重的问题,比如说木马可以伪装成文档文件。幸运的是,在 Linux 下事物不是这样运行的。可以确定的是,你可能会看到有些可执行文件是以 .sh 结尾暗示它们是可执行的脚本,但是这大部分是为了便于人眼找到文件,就像你使用 `ls --color` 将可执行文件的名字以亮绿色显示的方式相同。 + +事实上大多数应用根本没有扩展名。决定一个文件是否是一个真正程序的是 `x` (指*可执行的*)位。你可以通过运行以下命令使任何文件变得可执行, -事实上大多数应用根本没有扩展。决定一个文件是否是一个真正程序的是 _x_ (用于_可执行的_) 位。你可以通过运行以下命令使任何文件变得可执行: ``` chmod a+x some_program - ``` -而不管它的扩展名是什么或者是否存在。在上面命令中的 `x` 设置了 _x_ 位,`a` 说明你为_所有_用户设置它。你同样可以为一组用户设置成拥有这个文件 (`g+x`),或者设置为只有一个用户,拥有着 (`u+x`)。 +而不管它的扩展名是什么或者是否存在。在上面命令中的 `x` 设置了 `x` 位,`a` 说明你为*所有*用户设置它。你同样可以为一组用户设置成拥有这个文件(`g+x`),或者只为一个用户——拥有者——设置 (`u+x`)。 + +尽管我们会在该系列之后的部分包含从命令行创建和运行脚本的内容,并学习通过输入它的路径并在结尾加上程序名的方式运行一个程序: -尽管我们会在该系列之后部分包含从命令行创建和运行脚本的内容,并学习到你可以通过输入它的路径并在结尾加上程序名的方式运行一个程序: ``` path/to/directory/some_program - ``` 或者,如果你当前在相同目录,你可以使用: + ``` ./some_program - ``` 还有其他方式可以使你的程序在目录树的任意位置运行 (提示:查询 `$PATH` 环境变量),但是当我们讨论 shell 脚本的时候你会读到这些。 -### 复制,移动,链接 +### 复制、移动、链接 -明显地,有更多的方式来从命令行修改和处理文件,而不仅仅是处理它们的权限。当你试图打开一个不存在的文件是,大多数应用会创建一个新文件。如果 _test.txt_ 当前并不存在,下列命令 +明显地,从命令行修改和处理文件有很多的方式,而不仅仅是处理它们的权限。当你试图打开一个不存在的文件是,大多数应用会创建一个新文件。如果 `test.txt` 当前并不存在,下列命令: ``` nano test.txt - ``` ``` vim test.txt - ``` -([nano][3] 和 [vim][4] 是流行的命令行文本编辑器) 都将为你创建一个空的 _test.txt_ 文件来编辑。 +([nano][3] 和 [vim][4] 是流行的命令行文本编辑器)都将为你创建一个空的 `test.txt` 文件来编辑。 + +你可以通过 “触摸” (`touch`)来创建一个空的文件, -你可以通过 “触摸” (touching, 触摸)来创建一个空的文件: ``` touch test.txt - ``` 会创建一个文件,但是不会在任何应用中打开它。 -你可以使用 `cp` 来拷贝一个文件到另一个位置或者使用一个不同的名字: +你可以使用 `cp` 来拷贝一个文件到另一个位置,或者使用一个不同的名字: + ``` cp test.txt copy_of_test.txt - ``` 你也可以拷贝一堆文件: + ``` cp *.png /home/images - ``` -上面的命令拷贝当前目录下的所有 PNG 文件到相对你的 home 目录下的 _images/_ 目录。在你尝试之前 _images/_ 目录必须存在, 不然 `cp` 将显示一个错误。同样的,警惕,当你复制一个文件到一个已经包含相同名字的文件的目录时, `cp` 会静默地用新文件覆盖老的文件。 +上面的命令拷贝当前目录下的所有 PNG 文件到相对你的主目录下的 `images/` 目录。在你尝试之前 `images/` 目录必须存在, 不然 `cp` 将显示一个错误。同样的,警惕,当你复制一个文件到一个已经包含相同名字的文件的目录时,`cp` 会静默地用新文件覆盖老的文件。 + +你可以使用: -你可以使用 ``` cp -i *.png /home/images - ``` -如果你想要 `cp` 命令在有任何危险时警告你 (`-i` 选项代表 _交互式的_)。 +如果你想要 `cp` 命令在有任何危险时警告你 (`-i` 选项代表*交互式的*)。 你同样可以复制整个目录,但是为了做到这样,你需要 `-r` 选项: + ``` cp -rv directory_a/ directory_b - ``` -`-r` 选项代表 _递归_,意味着 `cp` 会向下探索目录 _directory_a_,复制所有的文件和子目录下内部包含的。我个人喜欢包含 `-v` 选项,因为它使 `cp` 冗长而啰嗦,意味着它会显示你当前它正在做什么而不是仅仅静默的复制然后存在。 +`-r` 选项代表*递归*,意味着 `cp` 会向下探索目录 `directory_a`,复制所有的文件和子目录下内部包含的。我个人喜欢包含 `-v` 选项,因为它使 `cp` 冗长而啰嗦,意味着它会显示你当前它正在做什么而不是仅仅静默的复制然后存在。 `mv` 命令移动东西。也就是说,它移动文件从一个位置到另一个位置。最简单的形式,`mv` 表现的更像 `cp`: + ``` mv test.txt new_test.txt - ``` -上面的命令使 _new_test.txt_ 出现, _test.txt_ 消失。 +上面的命令使 `new_test.txt` 出现,`test.txt` 消失。 + ``` mv *.png /home/images - ``` -移动当前目录下所有的 PNG 文件到相对于你的 home 目录的 _images/_ 目录。同样的你必须小心你没有意外的覆盖已存在的文件。使用 +移动当前目录下所有的 PNG 文件到相对于你的主目录的 `images/` 目录。同样的你必须小心你没有意外的覆盖已存在的文件。使用 + ``` mv -i *.png /home/images @@ -109,55 +108,56 @@ mv -i *.png /home/images 如果你想站在安全的角度,你可以使用与 `cp` 相同的方式。 -除了移动与拷贝的不同外,另一个 `mv` 和 `cp` 之间的不同是当你移动目录时: +除了移动与拷贝的不同外,另一个 `mv` 和 `cp` 之间的不同是当你移动目录时: + ``` mv directory_a/ directory_b - ``` -不需要添加递归的标志。这是因为你实际做的是重命名一个目录,与第一个例子相同,你做的是重命名文件。实际上,即使你 “移动” 一个文件从一个目录到另一个目录,只要两个目录在相同的存储设备和分区,你就是在重命名文件。 +不需要添加递归的标志。这是因为你实际做的是重命名一个目录,与第一个例子相同,你做的是重命名文件。实际上,即使你从一个目录到另一个目录 “移动” 一个文件,只要两个目录在相同的存储设备和分区,你就是在重命名文件。 + +你可以做一个实验来证明。 `time` 是一个工具来让你测量一个命令花费多久来执行。找一个非常大的文件,可以是几百 MB 甚至 几 GB (例如一个长视频),像下方这样尝试拷贝到另一个目录: -你可以做一个实验来证明。 `time` 是一个工具来让你测量一个命令花费多久来执行。找一个非常大的文件,可以是几百 MBs 甚至 几 GBs (例如一个长视频),像下方这样尝试拷贝到另一个目录: ``` $ time cp hefty_file.mkv another_directory/ real 0m3,868s user 0m0,016s sys 0m0,887s - ``` -黑体是你必须输入命令行的,下面是 `time` 的输出。需要关注的是第一行, _real_ 时间。它花费了几乎 4 秒来拷贝 355 MBs 的 _hefty_file.mkv_ 到 _another_directory/_ 目录。 +下面是 `time` 的输出。需要关注的是第一行, real 时间。它花费了几乎 4 秒来拷贝 355 MB 的 `hefty_file.mkv` 到 `another_directory/` 目录。 现在让我们尝试移动它: + ``` $ time mv hefty_file.mkv another_directory/ real 0m0,004s user 0m0,000s sys 0m0,003s - ``` -移动几乎是瞬时的!这是违反直觉的,因为看起来 `mv` 必须复制这个文件然后删除原来的。这是 `mv` 对比 `cp` 命令必须做的两件事。但是,实际上,`mv` 扩了 1000 倍。 +移动几乎是瞬时的!这是违反直觉的,因为看起来 `mv` 必须复制这个文件然后删除原来的。这是 `mv` 对比 `cp` 命令必须做的两件事。但是,实际上,`mv` 快了 1000 倍。 -这是因为文件系统结构中,它的所有目录树,只为了让用户便利而存在。在每个分区的开始,有一个称作 _分区表_ 的东西告诉操作系统在实际的物理磁盘上去哪找每个文件。在磁盘上,数据没有分为目录甚至是文件。[作为替代的是轨道,扇区和簇][5]。当你在相同分区 “移动” 一个文件时,操作系统实际做的仅仅是在分区表中改变了那个文件的入口,但它仍然指向磁盘上相同的簇信息。 +这是因为文件系统结构中,它的所有目录树,只为了让用户便利而存在。在每个分区的开始,有一个称作*分区表*的东西告诉操作系统在实际的物理磁盘上去哪找每个文件。在磁盘上,数据没有分为目录甚至是文件。[作为替代的是轨道、扇区和簇][5]。当你在相同分区 “移动” 一个文件时,操作系统实际做的仅仅是在分区表中改变了那个文件的入口,但它仍然指向磁盘上相同的簇信息。 是的!移动是一个谎言!至少在相同分区下是。如果你试图移动一个文件到一个不同的分区或者不同的设备, `mv` 仍然很快,但可以察觉到它比在相同分区下移动文件慢了。这是因为实际上发生了复制和清除数据。 ### 重命名 -有几个不同的命令行 `rename` 工具。没有一个像 `cp` 和 `mv` 那样固定并且他们工作的方式都有一点不同。他们相同的一点是他们被用来改变文件名的部分。 +有几个不同的命令行 `rename` 工具。没有一个像 `cp` 和 `mv` 那样固定,并且它们工作的方式都有一点不同,相同的一点是它们都被用来改变文件名的部分。 + +在 Debian 和 Ubuntu 中, 默认的 `rename` 工具使用 [正则表达式][6](字符组成的字符串模式)来大量的改变目录中的文件。命令: -在 Debian 和 Ubuntu 中, 默认的 `rename` 工具使用 [正则表达式][6] (字符组成的字符串图案)来大量的改变目录中的文件。命令: ``` rename 's/\.JPEG$/.jpg/' * - ``` -将改变所有扩展为 _JPEG_ 的文件为 _jpg_ 。文件 _IMG001.JPEG_ 变成 _IMG001.jpg_, _my_pic.JPEG_ 变成 _my_pic.jpg_ , 等等。 +将改变所有扩展名为 `JPEG` 的文件为 `jpg`。文件 `IMG001.JPEG` 变成 `IMG001.jpg`、 `my_pic.JPEG` 变成 `my_pic.jpg`,等等。 -另一个 `rename` 版本默认在 Manjaro 上可获得,一个 Arch 的衍生版,更简单,但是可能没有那么强大: -``` rename .JPEG .jpg * +另一个 `rename` 版本默认在 Manjaro 上可获得,这是一个 Arch 的衍生版,更简单,但是可能没有那么强大: +``` +rename .JPEG .jpg * ``` 这和你之前看到的上面做相同的重命名操作。在这个版本,`.JPEG` 是你想改变的字符组成的字符串,`.jpg` 是你想要改变成为的,`*` 表示当前目录下的所有文件。 @@ -167,36 +167,35 @@ rename 's/\.JPEG$/.jpg/' * ### 了解更多 查看 `mv` 和 `cp` 的 man 页面了解更多。运行 + ``` man cp - ``` - 或者 - ``` - man mv +或者 +``` +man mv +``` - ``` +来阅读这些命令自带的所有选项,这些使他们使用起来更强大和安全。 - 来阅读这些命令自带的所有选项,这些使他们使用起来更强大和安全。 +---------------------------------------------------------------------------- - ---------------------------------------------------------------------------- - - via: https://www.linux.com/blog/2018/8/linux-beginners-moving-things-around +via: https://www.linux.com/blog/2018/8/linux-beginners-moving-things-around 作者:[Paul Brown][a] 选题:[lujun9972](https://github.com/lujun9972) 译者:[warmfrog](https://github.com/warmfrog) -校对:[校对者ID](https://github.com/校对者ID) +校对:[wxy](https://github.com/wxy) 本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 [a]: https://www.linux.com/users/bro66 -[1]: https://www.linux.com/blog/learn/2018/5/manipulating-directories-linux -[2]: https://www.linux.com/blog/learn/intro-to-linux/2018/7/users-groups-and-other-linux-beasts-part-2 +[1]: https://linux.cn/article-10066-1.html +[2]: https://linux.cn/article-10399-1.html [3]: https://www.nano-editor.org/ [4]: https://www.vim.org/ [5]: https://en.wikipedia.org/wiki/Disk_sector [6]: https://en.wikipedia.org/wiki/Regular_expression - +[7]: https://linux.cn/article-10370-1.html From 9c37a5bda98cd324946f175857d015b5031a0022 Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Tue, 30 Apr 2019 12:22:47 +0800 Subject: [PATCH 07/12] PUB:20180828 Linux for Beginners- Moving Things Around.md @warmfrog https://linux.cn/article-10796-1.html --- .../20180828 Linux for Beginners- Moving Things Around.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {translated/tech => published}/20180828 Linux for Beginners- Moving Things Around.md (100%) diff --git a/translated/tech/20180828 Linux for Beginners- Moving Things Around.md b/published/20180828 Linux for Beginners- Moving Things Around.md similarity index 100% rename from translated/tech/20180828 Linux for Beginners- Moving Things Around.md rename to published/20180828 Linux for Beginners- Moving Things Around.md From 0fe16a81b08fb691b9c485803d6afc879ce60343 Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Tue, 30 Apr 2019 13:39:45 +0800 Subject: [PATCH 08/12] PRF:20190418 Most data center workers happy with their jobs -- despite the heavy demands.md @arrowfeng --- ...their jobs -- despite the heavy demands.md | 54 ++++++++----------- 1 file changed, 21 insertions(+), 33 deletions(-) diff --git a/translated/talk/20190418 Most data center workers happy with their jobs -- despite the heavy demands.md b/translated/talk/20190418 Most data center workers happy with their jobs -- despite the heavy demands.md index 0a7eedfffb..bc5aa708a0 100644 --- a/translated/talk/20190418 Most data center workers happy with their jobs -- despite the heavy demands.md +++ b/translated/talk/20190418 Most data center workers happy with their jobs -- despite the heavy demands.md @@ -1,71 +1,59 @@ [#]: collector: (lujun9972) [#]: translator: (arrowfeng) -[#]: reviewer: ( ) +[#]: reviewer: (wxy) [#]: publisher: ( ) [#]: url: ( ) [#]: subject: (Most data center workers happy with their jobs -- despite the heavy demands) [#]: via: (https://www.networkworld.com/article/3389359/most-data-center-workers-happy-with-their-jobs-despite-the-heavy-demands.html#tk.rss_all) [#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/) -许多数据中心的工作者很满意他们的工作 -- 尽管要求很高 +许多数据中心的工作者很满意他们的工作,将鼓励他们的孩子继续从事这份工作 ====== -一份从事和数据中心知识的报告调查发现,在数据中心工作的人很满意他们的工作,因此他们将会鼓励他们的孩子从事这份工作。 + +> 一份 Informa Engage 和 Data Center Knowledge 的报告调查发现,在数据中心工作的人很满意他们的工作,因此他们将会鼓励他们的孩子从事这份工作。 + ![Thinkstock][1] +一份由 [Informa Engage 和 Data Center Knowledge][2] 主导的调查报告显示,数据中心的工作者总体上对他们的工作很满意。尽管对时间和大脑的要求很高,但是他们还是鼓励自己的孩子能从事这项工作。 -一份由[从事和数据中心知识][2]主导的调查报告显示,数据中心的工作者总体上对他们的工作很满意。尽管对时间和大脑的要求很高,但是他们还是鼓励自己的孩子能从事这项工作。 +总体满意度非常好,72% 的受访者普遍同意“我喜欢我目前的工作”这一说法,三分之一的受访者则表示非常同意。75% 的人同意声明,“如果我的孩子、侄女或侄子问,我将建议他们进入 IT 行业。” -总体满意度非常好,72%的受访者普遍同意“我喜欢我目前的工作”这一说法,三分之一的受访者则表示非常同意。 75%的人同意声明,“如果我的孩子,侄女或侄子问,我将建议他们进入IT行业。” +在数据中心工作的员工之中,有一种很重要的感觉,88% 的人觉得他们自己对于雇主的成功非常重要。 -**[ 另请阅读:[雄心壮志的IT专业人士为之奋斗的20个热门职位][3] ]** +尽管存在一些挑战,其中最主要的是技能和认证的缺乏。调查的受访者认为缺乏技能是最受关注的领域。只有 56% 的人认为他们需要完成工作所需的培训,74% 的人表示他们已经在 IT 行业工作了十多年。 -在数据中心工作的员工之中,有一种很重要的感觉,88%的人觉得他们自己对于雇主的成功非常重要。 +这个行业提供认证计划,每个主要的 IT 硬件供应商都有,但是 61% 的人表示在过去的 12 个月里他们并没有完成或者重新续订证书。有几个原因: -尽管存在一些挑战,其中最主要的是技能和认证的缺乏。 调查的受访者认为缺乏技能是最受关注的领域。 只有56%的人认为他们有完成工作所需的培训,74%的人表示他们已经在IT行业工作了十多年。 - -这个行业提供认证计划,每个主要的IT硬件供应商都有它们,但是61%的人表示在过去的12月里他们并没有完成或者重新续订证书。有几个原因。 - - -三分之一(34%)说是由于他们工作的组织缺乏培训预算,而24%的人认为是缺乏时间,16%的人表示管理者认为不需要培训,和另外16%的人表示在他们的工作地点没有培训计划。 - - -这并不让我感到惊讶,因为科技是世界上最开放的行业之一,在那里你可以找到培训和教育材料并自学。已经证实了[许多程序员是自学成才][4],包括行业巨头比尔盖茨,史蒂夫沃兹尼亚克,约翰卡马克和杰克多尔西。 - -**[[需要去提升你的技术职业生涯?这个全面的在线课程将教你如何去做。][5]** +三分之一(34%)说是由于他们工作的组织缺乏培训预算,而 24% 的人认为是缺乏时间,16% 的人表示管理者认为不需要培训,以及另外 16% 的人表示在他们的工作地点没有培训计划。 +这并不让我感到惊讶,因为科技是世界上最开放的行业之一,在那里你可以找到培训和教育材料并自学。已经证实了[许多程序员是自学成才][4],包括行业巨头比尔·盖茨、史蒂夫·沃兹尼亚克、约翰·卡马克和杰克·多尔西。 ### 数据中心工作者们的薪水 -数据中心工作者不会抱怨酬劳。当然,大部分不会。50%的人每年可以赚到$100,000甚至更多,然而11%的人赚的少于$40,000。三分之二的受访者来自于美国,因此那些低端人士可能在国外。 +数据中心工作者不会抱怨酬劳。当然,大部分不会。50% 的人每年可以赚到 $100,000 甚至更多,然而 11% 的人赚的少于 $40,000。三分之二的受访者来自于美国,因此那些低端收入人士可能在国外。 -有一个值得注意的差异。史蒂夫布朗是伦敦数据中心人力资源的总经理,他说软件工程师获得的薪水比硬件工程师多。 - - -布朗在这篇报道中说,“数据中心软件工程方面的工作可以与高收入的职业媲美,在物理基础设施——机械/电气方面的工作——情况并非如此。它更像是中层管理” +有一个值得注意的差异。史蒂夫·布朗是伦敦数据中心人力资源的总经理,他说软件工程师获得的薪水比硬件工程师多。 +布朗在这篇报道中说,“数据中心软件工程方面的工作可以与高收入的职业媲美,而在物理基础设施——机械/电气方面的工作——情况并非如此。它更像是中层管理。” ### 数据中心的专业人士仍然主要是男性 -最不令人惊讶的发现?10个受访者中有9个是男性。该行业正在调整解决性别歧视问题,但是现在没什么改变。 +最不令人惊讶的发现?10 个受访者中有 9 个是男性。该行业正在调整解决性别歧视问题,但是现在没什么改变。 +这篇报告的结论有一点不太好,但是我认为是错的: -这篇报告的结论有一点不详,但是我认为是错的: -> "随着数据中心基础设施完成云计算模式的过渡,软件进入到容器和微服务时代,数据中心剩下来的珍贵领导者——在20世界获得技能的人——可能会发现没有任何他们认识的东西能管理和没人去领导。当危机最终来临时,我们可能会感到震惊,但是我们不能说我们没有受到警告。" +> “随着数据中心基础设施完成云计算模式的过渡,软件进入到容器和微服务时代,数据中心剩下来的珍贵领导者——在 20 世纪获得技能的人——可能会发现没有任何他们了解的东西需要管理,也没有人需要他们领导。当危机最终来临时,我们可能会感到震惊,但是我们不能说我们没有受到警告。" - - -多少次我不得不说,[数据中心不会消失][6]。 - -加入[Facebook][7]和[Facebook][7]的网络世界社区,评论最重要的话题。 +我说过了很多次,[数据中心不会消失][6]。 -------------------------------------------------------------------------------- -via: https://www.networkworld.com/article/3389359/most-data-center-workers-happy-with-their-jobs-despite-the-heavy-demands.html#tk.rss_all +via: https://www.networkworld.com/article/3389359/most-data-center-workers-happy-with-their-jobs-despite-the-heavy-demands.html 作者:[Andy Patrizio][a] 选题:[lujun9972][b] 译者:[arrowfeng](https://github.com/arrowfeng) -校对:[校对者ID](https://github.com/校对者ID) +校对:[wxy](https://github.com/wxy) 本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 From 466f16105f6f76c44ddf4f2efbbac348d426278b Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Tue, 30 Apr 2019 13:40:23 +0800 Subject: [PATCH 09/12] PUB:20190418 Most data center workers happy with their jobs -- despite the heavy demands.md @arrowfeng https://linux.cn/article-10797-1.html --- ...kers happy with their jobs -- despite the heavy demands.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename {translated/talk => published}/20190418 Most data center workers happy with their jobs -- despite the heavy demands.md (98%) diff --git a/translated/talk/20190418 Most data center workers happy with their jobs -- despite the heavy demands.md b/published/20190418 Most data center workers happy with their jobs -- despite the heavy demands.md similarity index 98% rename from translated/talk/20190418 Most data center workers happy with their jobs -- despite the heavy demands.md rename to published/20190418 Most data center workers happy with their jobs -- despite the heavy demands.md index bc5aa708a0..01999af416 100644 --- a/translated/talk/20190418 Most data center workers happy with their jobs -- despite the heavy demands.md +++ b/published/20190418 Most data center workers happy with their jobs -- despite the heavy demands.md @@ -1,8 +1,8 @@ [#]: collector: (lujun9972) [#]: translator: (arrowfeng) [#]: reviewer: (wxy) -[#]: publisher: ( ) -[#]: url: ( ) +[#]: publisher: (wxy) +[#]: url: (https://linux.cn/article-10797-1.html) [#]: subject: (Most data center workers happy with their jobs -- despite the heavy demands) [#]: via: (https://www.networkworld.com/article/3389359/most-data-center-workers-happy-with-their-jobs-despite-the-heavy-demands.html#tk.rss_all) [#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/) From c6b41b9750cdcb1f0371ac3e396095d7b2956e78 Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Wed, 1 May 2019 00:11:01 +0800 Subject: [PATCH 10/12] =?UTF-8?q?=E5=BD=92=E6=A1=A3=20201904?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...50616 Computer Laboratory - Raspberry Pi- Lesson 10 Input01.md | 0 ...50616 Computer Laboratory - Raspberry Pi- Lesson 11 Input02.md | 0 .../20160301 How To Set Password Policies In Linux.md | 0 ...ntralized Peer To Peer File Sharing Commandline Application.md | 0 .../20171117 5 open source fonts ideal for programmers.md | 0 published/{ => 201904}/20171226 The shell scripting trap.md | 0 .../20180118 Rediscovering make- the power behind rules.md | 0 .../20180205 Rancher - Container Management Application.md | 0 ...12 Best GTK Themes for Ubuntu and other Linux Distributions.md | 0 published/{ => 201904}/20180718 3 Emacs modes for taking notes.md | 0 .../20180823 Getting started with Sensu monitoring.md | 0 .../20180828 Linux for Beginners- Moving Things Around.md | 0 ...003 Oomox - Customize And Create Your Own GTK2, GTK3 Themes.md | 0 published/{ => 201904}/20181108 My Google-free Android life.md | 0 ...o Browse The Arch Wiki Pages As Linux Man Page from Offline.md | 0 .../20190104 Take to the virtual skies with FlightGear.md | 0 ...20190108 How To Understand And Identify File types in Linux.md | 0 ...0190118 Secure Email Service Tutanota Has a Desktop App Now.md | 0 ...Methods To Identify Disk Partition-FileSystem UUID On Linux.md | 0 .../20190204 Enjoy Netflix- You Should Thank FreeBSD.md | 0 .../20190208 Which programming languages should you learn.md | 0 ...tu 14.04 is Reaching the End of Life. Here are Your Options.md | 0 ...190309 Emulators and Native Linux games on the Raspberry Pi.md | 0 ...et-s get physical- How to use GPIO pins on the Raspberry Pi.md | 0 .../20190311 7 resources for learning to use your Raspberry Pi.md | 0 ...90311 Blockchain 2.0- Redefining Financial Services -Part 3.md | 0 ...bout computer security with the Raspberry Pi and Kali Linux.md | 0 ...90312 Do advanced math with Mathematica on the Raspberry Pi.md | 0 .../20190313 How to contribute to the Raspberry Pi community.md | 0 .../20190314 14 days of celebrating the Raspberry Pi.md | 0 .../20190314 A Look Back at the History of Firefox.md | 0 ...- An open source tool to help you decide on your dream home.md | 0 .../20190317 How To Configure sudo Access In Linux.md | 0 .../{ => 201904}/20190318 10 Python image manipulation tools.md | 0 ... To Check Whether A Port Is Open On The Remote Linux System.md | 0 ...ck To A Specific Parent Directory Using bd Command In Linux.md | 0 ...iple Remote Linux System Using Shell Script With nc Command.md | 0 .../{ => 201904}/20190325 Getting started with Vim- The basics.md | 0 .../20190326 Using Square Brackets in Bash- Part 1.md | 0 ...190327 Setting kernel command line arguments with Fedora 30.md | 0 .../{ => 201904}/20190328 How to run PostgreSQL on Kubernetes.md | 0 .../{ => 201904}/20190401 3 cool text-based email clients.md | 0 ... create a filesystem on a Linux partition or logical volume.md | 0 .../20190402 Parallel computation in Python with Dask.md | 0 .../20190402 Using Square Brackets in Bash- Part 2.md | 0 .../20190403 5 useful open source log analysis tools.md | 0 .../20190405 Streaming internet radio with RadioDroid.md | 0 .../{ => 201904}/20190407 Fixing Ubuntu Freezing at Boot Time.md | 0 ...0407 Happy 14th anniversary Git- What do you love about Git.md | 0 .../20190408 Bash vs. Python- Which language should you use.md | 0 ...Google reenergize multicloud-hybrid cloud joint development.md | 0 published/{ => 201904}/20190409 Enhanced security at the edge.md | 0 .../20190409 Four Methods To Add A User To Group In Linux.md | 0 ...20190409 How To Install And Enable Flatpak Support On Linux.md | 0 .../20190410 How To Check The List Of Open Ports In Linux.md | 0 .../{ => 201904}/20190410 Managing Partitions with sgdisk.md | 0 ...0190413 How to Zip Files and Folders in Linux -Beginner Tip.md | 0 published/{ => 201904}/20190413 The Fargate Illusion.md | 0 ...20190415 Getting started with Mercurial for version control.md | 0 .../20190415 How to identify duplicate files on Linux.md | 0 .../{ => 201904}/20190416 How to Install MySQL in Ubuntu Linux.md | 0 ...dern Command Line HTTP Client For Curl And Wget Alternative.md | 0 .../{ => 201904}/20190417 Managing RAID arrays with mdadm.md | 0 ... workers happy with their jobs -- despite the heavy demands.md | 0 ...tu 19.04 ‘Disco Dingo- Has Arrived- Downloads Available Now.md | 0 .../20190419 4 cool new projects to try in COPR for April 2019.md | 0 .../20190420 New Features Coming to Debian 10 Buster Release.md | 0 67 files changed, 0 insertions(+), 0 deletions(-) rename published/{ => 201904}/20150616 Computer Laboratory - Raspberry Pi- Lesson 10 Input01.md (100%) rename published/{ => 201904}/20150616 Computer Laboratory - Raspberry Pi- Lesson 11 Input02.md (100%) rename published/{ => 201904}/20160301 How To Set Password Policies In Linux.md (100%) rename published/{ => 201904}/20170710 iWant - The Decentralized Peer To Peer File Sharing Commandline Application.md (100%) rename published/{ => 201904}/20171117 5 open source fonts ideal for programmers.md (100%) rename published/{ => 201904}/20171226 The shell scripting trap.md (100%) rename published/{ => 201904}/20180118 Rediscovering make- the power behind rules.md (100%) rename published/{ => 201904}/20180205 Rancher - Container Management Application.md (100%) rename published/{ => 201904}/20180407 12 Best GTK Themes for Ubuntu and other Linux Distributions.md (100%) rename published/{ => 201904}/20180718 3 Emacs modes for taking notes.md (100%) rename published/{ => 201904}/20180823 Getting started with Sensu monitoring.md (100%) rename published/{ => 201904}/20180828 Linux for Beginners- Moving Things Around.md (100%) rename published/{ => 201904}/20181003 Oomox - Customize And Create Your Own GTK2, GTK3 Themes.md (100%) rename published/{ => 201904}/20181108 My Google-free Android life.md (100%) rename published/{ => 201904}/20181119 Arch-Wiki-Man - A Tool to Browse The Arch Wiki Pages As Linux Man Page from Offline.md (100%) rename published/{ => 201904}/20190104 Take to the virtual skies with FlightGear.md (100%) rename published/{ => 201904}/20190108 How To Understand And Identify File types in Linux.md (100%) rename published/{ => 201904}/20190118 Secure Email Service Tutanota Has a Desktop App Now.md (100%) rename published/{ => 201904}/20190129 7 Methods To Identify Disk Partition-FileSystem UUID On Linux.md (100%) rename published/{ => 201904}/20190204 Enjoy Netflix- You Should Thank FreeBSD.md (100%) rename published/{ => 201904}/20190208 Which programming languages should you learn.md (100%) rename published/{ => 201904}/20190211 Ubuntu 14.04 is Reaching the End of Life. Here are Your Options.md (100%) rename published/{ => 201904}/20190309 Emulators and Native Linux games on the Raspberry Pi.md (100%) rename published/{ => 201904}/20190310 Let-s get physical- How to use GPIO pins on the Raspberry Pi.md (100%) rename published/{ => 201904}/20190311 7 resources for learning to use your Raspberry Pi.md (100%) rename published/{ => 201904}/20190311 Blockchain 2.0- Redefining Financial Services -Part 3.md (100%) rename published/{ => 201904}/20190311 Learn about computer security with the Raspberry Pi and Kali Linux.md (100%) rename published/{ => 201904}/20190312 Do advanced math with Mathematica on the Raspberry Pi.md (100%) rename published/{ => 201904}/20190313 How to contribute to the Raspberry Pi community.md (100%) rename published/{ => 201904}/20190314 14 days of celebrating the Raspberry Pi.md (100%) rename published/{ => 201904}/20190314 A Look Back at the History of Firefox.md (100%) rename published/{ => 201904}/20190315 Sweet Home 3D- An open source tool to help you decide on your dream home.md (100%) rename published/{ => 201904}/20190317 How To Configure sudo Access In Linux.md (100%) rename published/{ => 201904}/20190318 10 Python image manipulation tools.md (100%) rename published/{ => 201904}/20190318 3 Ways To Check Whether A Port Is Open On The Remote Linux System.md (100%) rename published/{ => 201904}/20190320 Quickly Go Back To A Specific Parent Directory Using bd Command In Linux.md (100%) rename published/{ => 201904}/20190321 How To Check If A Port Is Open On Multiple Remote Linux System Using Shell Script With nc Command.md (100%) rename published/{ => 201904}/20190325 Getting started with Vim- The basics.md (100%) rename published/{ => 201904}/20190326 Using Square Brackets in Bash- Part 1.md (100%) rename published/{ => 201904}/20190327 Setting kernel command line arguments with Fedora 30.md (100%) rename published/{ => 201904}/20190328 How to run PostgreSQL on Kubernetes.md (100%) rename published/{ => 201904}/20190401 3 cool text-based email clients.md (100%) rename published/{ => 201904}/20190401 How to create a filesystem on a Linux partition or logical volume.md (100%) rename published/{ => 201904}/20190402 Parallel computation in Python with Dask.md (100%) rename published/{ => 201904}/20190402 Using Square Brackets in Bash- Part 2.md (100%) rename published/{ => 201904}/20190403 5 useful open source log analysis tools.md (100%) rename published/{ => 201904}/20190405 Streaming internet radio with RadioDroid.md (100%) rename published/{ => 201904}/20190407 Fixing Ubuntu Freezing at Boot Time.md (100%) rename published/{ => 201904}/20190407 Happy 14th anniversary Git- What do you love about Git.md (100%) rename published/{ => 201904}/20190408 Bash vs. Python- Which language should you use.md (100%) rename published/{ => 201904}/20190409 Cisco, Google reenergize multicloud-hybrid cloud joint development.md (100%) rename published/{ => 201904}/20190409 Enhanced security at the edge.md (100%) rename published/{ => 201904}/20190409 Four Methods To Add A User To Group In Linux.md (100%) rename published/{ => 201904}/20190409 How To Install And Enable Flatpak Support On Linux.md (100%) rename published/{ => 201904}/20190410 How To Check The List Of Open Ports In Linux.md (100%) rename published/{ => 201904}/20190410 Managing Partitions with sgdisk.md (100%) rename published/{ => 201904}/20190413 How to Zip Files and Folders in Linux -Beginner Tip.md (100%) rename published/{ => 201904}/20190413 The Fargate Illusion.md (100%) rename published/{ => 201904}/20190415 Getting started with Mercurial for version control.md (100%) rename published/{ => 201904}/20190415 How to identify duplicate files on Linux.md (100%) rename published/{ => 201904}/20190416 How to Install MySQL in Ubuntu Linux.md (100%) rename published/{ => 201904}/20190417 HTTPie - A Modern Command Line HTTP Client For Curl And Wget Alternative.md (100%) rename published/{ => 201904}/20190417 Managing RAID arrays with mdadm.md (100%) rename published/{ => 201904}/20190418 Most data center workers happy with their jobs -- despite the heavy demands.md (100%) rename published/{ => 201904}/20190418 Ubuntu 19.04 ‘Disco Dingo- Has Arrived- Downloads Available Now.md (100%) rename published/{ => 201904}/20190419 4 cool new projects to try in COPR for April 2019.md (100%) rename published/{ => 201904}/20190420 New Features Coming to Debian 10 Buster Release.md (100%) diff --git a/published/20150616 Computer Laboratory - Raspberry Pi- Lesson 10 Input01.md b/published/201904/20150616 Computer Laboratory - Raspberry Pi- Lesson 10 Input01.md similarity index 100% rename from published/20150616 Computer Laboratory - Raspberry Pi- Lesson 10 Input01.md rename to published/201904/20150616 Computer Laboratory - Raspberry Pi- Lesson 10 Input01.md diff --git a/published/20150616 Computer Laboratory - Raspberry Pi- Lesson 11 Input02.md b/published/201904/20150616 Computer Laboratory - Raspberry Pi- Lesson 11 Input02.md similarity index 100% rename from published/20150616 Computer Laboratory - Raspberry Pi- Lesson 11 Input02.md rename to published/201904/20150616 Computer Laboratory - Raspberry Pi- Lesson 11 Input02.md diff --git a/published/20160301 How To Set Password Policies In Linux.md b/published/201904/20160301 How To Set Password Policies In Linux.md similarity index 100% rename from published/20160301 How To Set Password Policies In Linux.md rename to published/201904/20160301 How To Set Password Policies In Linux.md diff --git a/published/20170710 iWant - The Decentralized Peer To Peer File Sharing Commandline Application.md b/published/201904/20170710 iWant - The Decentralized Peer To Peer File Sharing Commandline Application.md similarity index 100% rename from published/20170710 iWant - The Decentralized Peer To Peer File Sharing Commandline Application.md rename to published/201904/20170710 iWant - The Decentralized Peer To Peer File Sharing Commandline Application.md diff --git a/published/20171117 5 open source fonts ideal for programmers.md b/published/201904/20171117 5 open source fonts ideal for programmers.md similarity index 100% rename from published/20171117 5 open source fonts ideal for programmers.md rename to published/201904/20171117 5 open source fonts ideal for programmers.md diff --git a/published/20171226 The shell scripting trap.md b/published/201904/20171226 The shell scripting trap.md similarity index 100% rename from published/20171226 The shell scripting trap.md rename to published/201904/20171226 The shell scripting trap.md diff --git a/published/20180118 Rediscovering make- the power behind rules.md b/published/201904/20180118 Rediscovering make- the power behind rules.md similarity index 100% rename from published/20180118 Rediscovering make- the power behind rules.md rename to published/201904/20180118 Rediscovering make- the power behind rules.md diff --git a/published/20180205 Rancher - Container Management Application.md b/published/201904/20180205 Rancher - Container Management Application.md similarity index 100% rename from published/20180205 Rancher - Container Management Application.md rename to published/201904/20180205 Rancher - Container Management Application.md diff --git a/published/20180407 12 Best GTK Themes for Ubuntu and other Linux Distributions.md b/published/201904/20180407 12 Best GTK Themes for Ubuntu and other Linux Distributions.md similarity index 100% rename from published/20180407 12 Best GTK Themes for Ubuntu and other Linux Distributions.md rename to published/201904/20180407 12 Best GTK Themes for Ubuntu and other Linux Distributions.md diff --git a/published/20180718 3 Emacs modes for taking notes.md b/published/201904/20180718 3 Emacs modes for taking notes.md similarity index 100% rename from published/20180718 3 Emacs modes for taking notes.md rename to published/201904/20180718 3 Emacs modes for taking notes.md diff --git a/published/20180823 Getting started with Sensu monitoring.md b/published/201904/20180823 Getting started with Sensu monitoring.md similarity index 100% rename from published/20180823 Getting started with Sensu monitoring.md rename to published/201904/20180823 Getting started with Sensu monitoring.md diff --git a/published/20180828 Linux for Beginners- Moving Things Around.md b/published/201904/20180828 Linux for Beginners- Moving Things Around.md similarity index 100% rename from published/20180828 Linux for Beginners- Moving Things Around.md rename to published/201904/20180828 Linux for Beginners- Moving Things Around.md diff --git a/published/20181003 Oomox - Customize And Create Your Own GTK2, GTK3 Themes.md b/published/201904/20181003 Oomox - Customize And Create Your Own GTK2, GTK3 Themes.md similarity index 100% rename from published/20181003 Oomox - Customize And Create Your Own GTK2, GTK3 Themes.md rename to published/201904/20181003 Oomox - Customize And Create Your Own GTK2, GTK3 Themes.md diff --git a/published/20181108 My Google-free Android life.md b/published/201904/20181108 My Google-free Android life.md similarity index 100% rename from published/20181108 My Google-free Android life.md rename to published/201904/20181108 My Google-free Android life.md diff --git a/published/20181119 Arch-Wiki-Man - A Tool to Browse The Arch Wiki Pages As Linux Man Page from Offline.md b/published/201904/20181119 Arch-Wiki-Man - A Tool to Browse The Arch Wiki Pages As Linux Man Page from Offline.md similarity index 100% rename from published/20181119 Arch-Wiki-Man - A Tool to Browse The Arch Wiki Pages As Linux Man Page from Offline.md rename to published/201904/20181119 Arch-Wiki-Man - A Tool to Browse The Arch Wiki Pages As Linux Man Page from Offline.md diff --git a/published/20190104 Take to the virtual skies with FlightGear.md b/published/201904/20190104 Take to the virtual skies with FlightGear.md similarity index 100% rename from published/20190104 Take to the virtual skies with FlightGear.md rename to published/201904/20190104 Take to the virtual skies with FlightGear.md diff --git a/published/20190108 How To Understand And Identify File types in Linux.md b/published/201904/20190108 How To Understand And Identify File types in Linux.md similarity index 100% rename from published/20190108 How To Understand And Identify File types in Linux.md rename to published/201904/20190108 How To Understand And Identify File types in Linux.md diff --git a/published/20190118 Secure Email Service Tutanota Has a Desktop App Now.md b/published/201904/20190118 Secure Email Service Tutanota Has a Desktop App Now.md similarity index 100% rename from published/20190118 Secure Email Service Tutanota Has a Desktop App Now.md rename to published/201904/20190118 Secure Email Service Tutanota Has a Desktop App Now.md diff --git a/published/20190129 7 Methods To Identify Disk Partition-FileSystem UUID On Linux.md b/published/201904/20190129 7 Methods To Identify Disk Partition-FileSystem UUID On Linux.md similarity index 100% rename from published/20190129 7 Methods To Identify Disk Partition-FileSystem UUID On Linux.md rename to published/201904/20190129 7 Methods To Identify Disk Partition-FileSystem UUID On Linux.md diff --git a/published/20190204 Enjoy Netflix- You Should Thank FreeBSD.md b/published/201904/20190204 Enjoy Netflix- You Should Thank FreeBSD.md similarity index 100% rename from published/20190204 Enjoy Netflix- You Should Thank FreeBSD.md rename to published/201904/20190204 Enjoy Netflix- You Should Thank FreeBSD.md diff --git a/published/20190208 Which programming languages should you learn.md b/published/201904/20190208 Which programming languages should you learn.md similarity index 100% rename from published/20190208 Which programming languages should you learn.md rename to published/201904/20190208 Which programming languages should you learn.md diff --git a/published/20190211 Ubuntu 14.04 is Reaching the End of Life. Here are Your Options.md b/published/201904/20190211 Ubuntu 14.04 is Reaching the End of Life. Here are Your Options.md similarity index 100% rename from published/20190211 Ubuntu 14.04 is Reaching the End of Life. Here are Your Options.md rename to published/201904/20190211 Ubuntu 14.04 is Reaching the End of Life. Here are Your Options.md diff --git a/published/20190309 Emulators and Native Linux games on the Raspberry Pi.md b/published/201904/20190309 Emulators and Native Linux games on the Raspberry Pi.md similarity index 100% rename from published/20190309 Emulators and Native Linux games on the Raspberry Pi.md rename to published/201904/20190309 Emulators and Native Linux games on the Raspberry Pi.md diff --git a/published/20190310 Let-s get physical- How to use GPIO pins on the Raspberry Pi.md b/published/201904/20190310 Let-s get physical- How to use GPIO pins on the Raspberry Pi.md similarity index 100% rename from published/20190310 Let-s get physical- How to use GPIO pins on the Raspberry Pi.md rename to published/201904/20190310 Let-s get physical- How to use GPIO pins on the Raspberry Pi.md diff --git a/published/20190311 7 resources for learning to use your Raspberry Pi.md b/published/201904/20190311 7 resources for learning to use your Raspberry Pi.md similarity index 100% rename from published/20190311 7 resources for learning to use your Raspberry Pi.md rename to published/201904/20190311 7 resources for learning to use your Raspberry Pi.md diff --git a/published/20190311 Blockchain 2.0- Redefining Financial Services -Part 3.md b/published/201904/20190311 Blockchain 2.0- Redefining Financial Services -Part 3.md similarity index 100% rename from published/20190311 Blockchain 2.0- Redefining Financial Services -Part 3.md rename to published/201904/20190311 Blockchain 2.0- Redefining Financial Services -Part 3.md diff --git a/published/20190311 Learn about computer security with the Raspberry Pi and Kali Linux.md b/published/201904/20190311 Learn about computer security with the Raspberry Pi and Kali Linux.md similarity index 100% rename from published/20190311 Learn about computer security with the Raspberry Pi and Kali Linux.md rename to published/201904/20190311 Learn about computer security with the Raspberry Pi and Kali Linux.md diff --git a/published/20190312 Do advanced math with Mathematica on the Raspberry Pi.md b/published/201904/20190312 Do advanced math with Mathematica on the Raspberry Pi.md similarity index 100% rename from published/20190312 Do advanced math with Mathematica on the Raspberry Pi.md rename to published/201904/20190312 Do advanced math with Mathematica on the Raspberry Pi.md diff --git a/published/20190313 How to contribute to the Raspberry Pi community.md b/published/201904/20190313 How to contribute to the Raspberry Pi community.md similarity index 100% rename from published/20190313 How to contribute to the Raspberry Pi community.md rename to published/201904/20190313 How to contribute to the Raspberry Pi community.md diff --git a/published/20190314 14 days of celebrating the Raspberry Pi.md b/published/201904/20190314 14 days of celebrating the Raspberry Pi.md similarity index 100% rename from published/20190314 14 days of celebrating the Raspberry Pi.md rename to published/201904/20190314 14 days of celebrating the Raspberry Pi.md diff --git a/published/20190314 A Look Back at the History of Firefox.md b/published/201904/20190314 A Look Back at the History of Firefox.md similarity index 100% rename from published/20190314 A Look Back at the History of Firefox.md rename to published/201904/20190314 A Look Back at the History of Firefox.md diff --git a/published/20190315 Sweet Home 3D- An open source tool to help you decide on your dream home.md b/published/201904/20190315 Sweet Home 3D- An open source tool to help you decide on your dream home.md similarity index 100% rename from published/20190315 Sweet Home 3D- An open source tool to help you decide on your dream home.md rename to published/201904/20190315 Sweet Home 3D- An open source tool to help you decide on your dream home.md diff --git a/published/20190317 How To Configure sudo Access In Linux.md b/published/201904/20190317 How To Configure sudo Access In Linux.md similarity index 100% rename from published/20190317 How To Configure sudo Access In Linux.md rename to published/201904/20190317 How To Configure sudo Access In Linux.md diff --git a/published/20190318 10 Python image manipulation tools.md b/published/201904/20190318 10 Python image manipulation tools.md similarity index 100% rename from published/20190318 10 Python image manipulation tools.md rename to published/201904/20190318 10 Python image manipulation tools.md diff --git a/published/20190318 3 Ways To Check Whether A Port Is Open On The Remote Linux System.md b/published/201904/20190318 3 Ways To Check Whether A Port Is Open On The Remote Linux System.md similarity index 100% rename from published/20190318 3 Ways To Check Whether A Port Is Open On The Remote Linux System.md rename to published/201904/20190318 3 Ways To Check Whether A Port Is Open On The Remote Linux System.md diff --git a/published/20190320 Quickly Go Back To A Specific Parent Directory Using bd Command In Linux.md b/published/201904/20190320 Quickly Go Back To A Specific Parent Directory Using bd Command In Linux.md similarity index 100% rename from published/20190320 Quickly Go Back To A Specific Parent Directory Using bd Command In Linux.md rename to published/201904/20190320 Quickly Go Back To A Specific Parent Directory Using bd Command In Linux.md diff --git a/published/20190321 How To Check If A Port Is Open On Multiple Remote Linux System Using Shell Script With nc Command.md b/published/201904/20190321 How To Check If A Port Is Open On Multiple Remote Linux System Using Shell Script With nc Command.md similarity index 100% rename from published/20190321 How To Check If A Port Is Open On Multiple Remote Linux System Using Shell Script With nc Command.md rename to published/201904/20190321 How To Check If A Port Is Open On Multiple Remote Linux System Using Shell Script With nc Command.md diff --git a/published/20190325 Getting started with Vim- The basics.md b/published/201904/20190325 Getting started with Vim- The basics.md similarity index 100% rename from published/20190325 Getting started with Vim- The basics.md rename to published/201904/20190325 Getting started with Vim- The basics.md diff --git a/published/20190326 Using Square Brackets in Bash- Part 1.md b/published/201904/20190326 Using Square Brackets in Bash- Part 1.md similarity index 100% rename from published/20190326 Using Square Brackets in Bash- Part 1.md rename to published/201904/20190326 Using Square Brackets in Bash- Part 1.md diff --git a/published/20190327 Setting kernel command line arguments with Fedora 30.md b/published/201904/20190327 Setting kernel command line arguments with Fedora 30.md similarity index 100% rename from published/20190327 Setting kernel command line arguments with Fedora 30.md rename to published/201904/20190327 Setting kernel command line arguments with Fedora 30.md diff --git a/published/20190328 How to run PostgreSQL on Kubernetes.md b/published/201904/20190328 How to run PostgreSQL on Kubernetes.md similarity index 100% rename from published/20190328 How to run PostgreSQL on Kubernetes.md rename to published/201904/20190328 How to run PostgreSQL on Kubernetes.md diff --git a/published/20190401 3 cool text-based email clients.md b/published/201904/20190401 3 cool text-based email clients.md similarity index 100% rename from published/20190401 3 cool text-based email clients.md rename to published/201904/20190401 3 cool text-based email clients.md diff --git a/published/20190401 How to create a filesystem on a Linux partition or logical volume.md b/published/201904/20190401 How to create a filesystem on a Linux partition or logical volume.md similarity index 100% rename from published/20190401 How to create a filesystem on a Linux partition or logical volume.md rename to published/201904/20190401 How to create a filesystem on a Linux partition or logical volume.md diff --git a/published/20190402 Parallel computation in Python with Dask.md b/published/201904/20190402 Parallel computation in Python with Dask.md similarity index 100% rename from published/20190402 Parallel computation in Python with Dask.md rename to published/201904/20190402 Parallel computation in Python with Dask.md diff --git a/published/20190402 Using Square Brackets in Bash- Part 2.md b/published/201904/20190402 Using Square Brackets in Bash- Part 2.md similarity index 100% rename from published/20190402 Using Square Brackets in Bash- Part 2.md rename to published/201904/20190402 Using Square Brackets in Bash- Part 2.md diff --git a/published/20190403 5 useful open source log analysis tools.md b/published/201904/20190403 5 useful open source log analysis tools.md similarity index 100% rename from published/20190403 5 useful open source log analysis tools.md rename to published/201904/20190403 5 useful open source log analysis tools.md diff --git a/published/20190405 Streaming internet radio with RadioDroid.md b/published/201904/20190405 Streaming internet radio with RadioDroid.md similarity index 100% rename from published/20190405 Streaming internet radio with RadioDroid.md rename to published/201904/20190405 Streaming internet radio with RadioDroid.md diff --git a/published/20190407 Fixing Ubuntu Freezing at Boot Time.md b/published/201904/20190407 Fixing Ubuntu Freezing at Boot Time.md similarity index 100% rename from published/20190407 Fixing Ubuntu Freezing at Boot Time.md rename to published/201904/20190407 Fixing Ubuntu Freezing at Boot Time.md diff --git a/published/20190407 Happy 14th anniversary Git- What do you love about Git.md b/published/201904/20190407 Happy 14th anniversary Git- What do you love about Git.md similarity index 100% rename from published/20190407 Happy 14th anniversary Git- What do you love about Git.md rename to published/201904/20190407 Happy 14th anniversary Git- What do you love about Git.md diff --git a/published/20190408 Bash vs. Python- Which language should you use.md b/published/201904/20190408 Bash vs. Python- Which language should you use.md similarity index 100% rename from published/20190408 Bash vs. Python- Which language should you use.md rename to published/201904/20190408 Bash vs. Python- Which language should you use.md diff --git a/published/20190409 Cisco, Google reenergize multicloud-hybrid cloud joint development.md b/published/201904/20190409 Cisco, Google reenergize multicloud-hybrid cloud joint development.md similarity index 100% rename from published/20190409 Cisco, Google reenergize multicloud-hybrid cloud joint development.md rename to published/201904/20190409 Cisco, Google reenergize multicloud-hybrid cloud joint development.md diff --git a/published/20190409 Enhanced security at the edge.md b/published/201904/20190409 Enhanced security at the edge.md similarity index 100% rename from published/20190409 Enhanced security at the edge.md rename to published/201904/20190409 Enhanced security at the edge.md diff --git a/published/20190409 Four Methods To Add A User To Group In Linux.md b/published/201904/20190409 Four Methods To Add A User To Group In Linux.md similarity index 100% rename from published/20190409 Four Methods To Add A User To Group In Linux.md rename to published/201904/20190409 Four Methods To Add A User To Group In Linux.md diff --git a/published/20190409 How To Install And Enable Flatpak Support On Linux.md b/published/201904/20190409 How To Install And Enable Flatpak Support On Linux.md similarity index 100% rename from published/20190409 How To Install And Enable Flatpak Support On Linux.md rename to published/201904/20190409 How To Install And Enable Flatpak Support On Linux.md diff --git a/published/20190410 How To Check The List Of Open Ports In Linux.md b/published/201904/20190410 How To Check The List Of Open Ports In Linux.md similarity index 100% rename from published/20190410 How To Check The List Of Open Ports In Linux.md rename to published/201904/20190410 How To Check The List Of Open Ports In Linux.md diff --git a/published/20190410 Managing Partitions with sgdisk.md b/published/201904/20190410 Managing Partitions with sgdisk.md similarity index 100% rename from published/20190410 Managing Partitions with sgdisk.md rename to published/201904/20190410 Managing Partitions with sgdisk.md diff --git a/published/20190413 How to Zip Files and Folders in Linux -Beginner Tip.md b/published/201904/20190413 How to Zip Files and Folders in Linux -Beginner Tip.md similarity index 100% rename from published/20190413 How to Zip Files and Folders in Linux -Beginner Tip.md rename to published/201904/20190413 How to Zip Files and Folders in Linux -Beginner Tip.md diff --git a/published/20190413 The Fargate Illusion.md b/published/201904/20190413 The Fargate Illusion.md similarity index 100% rename from published/20190413 The Fargate Illusion.md rename to published/201904/20190413 The Fargate Illusion.md diff --git a/published/20190415 Getting started with Mercurial for version control.md b/published/201904/20190415 Getting started with Mercurial for version control.md similarity index 100% rename from published/20190415 Getting started with Mercurial for version control.md rename to published/201904/20190415 Getting started with Mercurial for version control.md diff --git a/published/20190415 How to identify duplicate files on Linux.md b/published/201904/20190415 How to identify duplicate files on Linux.md similarity index 100% rename from published/20190415 How to identify duplicate files on Linux.md rename to published/201904/20190415 How to identify duplicate files on Linux.md diff --git a/published/20190416 How to Install MySQL in Ubuntu Linux.md b/published/201904/20190416 How to Install MySQL in Ubuntu Linux.md similarity index 100% rename from published/20190416 How to Install MySQL in Ubuntu Linux.md rename to published/201904/20190416 How to Install MySQL in Ubuntu Linux.md diff --git a/published/20190417 HTTPie - A Modern Command Line HTTP Client For Curl And Wget Alternative.md b/published/201904/20190417 HTTPie - A Modern Command Line HTTP Client For Curl And Wget Alternative.md similarity index 100% rename from published/20190417 HTTPie - A Modern Command Line HTTP Client For Curl And Wget Alternative.md rename to published/201904/20190417 HTTPie - A Modern Command Line HTTP Client For Curl And Wget Alternative.md diff --git a/published/20190417 Managing RAID arrays with mdadm.md b/published/201904/20190417 Managing RAID arrays with mdadm.md similarity index 100% rename from published/20190417 Managing RAID arrays with mdadm.md rename to published/201904/20190417 Managing RAID arrays with mdadm.md diff --git a/published/20190418 Most data center workers happy with their jobs -- despite the heavy demands.md b/published/201904/20190418 Most data center workers happy with their jobs -- despite the heavy demands.md similarity index 100% rename from published/20190418 Most data center workers happy with their jobs -- despite the heavy demands.md rename to published/201904/20190418 Most data center workers happy with their jobs -- despite the heavy demands.md diff --git a/published/20190418 Ubuntu 19.04 ‘Disco Dingo- Has Arrived- Downloads Available Now.md b/published/201904/20190418 Ubuntu 19.04 ‘Disco Dingo- Has Arrived- Downloads Available Now.md similarity index 100% rename from published/20190418 Ubuntu 19.04 ‘Disco Dingo- Has Arrived- Downloads Available Now.md rename to published/201904/20190418 Ubuntu 19.04 ‘Disco Dingo- Has Arrived- Downloads Available Now.md diff --git a/published/20190419 4 cool new projects to try in COPR for April 2019.md b/published/201904/20190419 4 cool new projects to try in COPR for April 2019.md similarity index 100% rename from published/20190419 4 cool new projects to try in COPR for April 2019.md rename to published/201904/20190419 4 cool new projects to try in COPR for April 2019.md diff --git a/published/20190420 New Features Coming to Debian 10 Buster Release.md b/published/201904/20190420 New Features Coming to Debian 10 Buster Release.md similarity index 100% rename from published/20190420 New Features Coming to Debian 10 Buster Release.md rename to published/201904/20190420 New Features Coming to Debian 10 Buster Release.md From f14b09236b84561700f320c92c7ef04c9815a809 Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Wed, 1 May 2019 00:43:42 +0800 Subject: [PATCH 11/12] PRF:20190423 Four Methods To Check The Default Gateway Or Router IP Address In Linux.md @warmfrog --- ...t Gateway Or Router IP Address In Linux.md | 66 ++++++++----------- 1 file changed, 28 insertions(+), 38 deletions(-) diff --git a/translated/tech/20190423 Four Methods To Check The Default Gateway Or Router IP Address In Linux.md b/translated/tech/20190423 Four Methods To Check The Default Gateway Or Router IP Address In Linux.md index f2cf168fcb..bbdcb47d54 100644 --- a/translated/tech/20190423 Four Methods To Check The Default Gateway Or Router IP Address In Linux.md +++ b/translated/tech/20190423 Four Methods To Check The Default Gateway Or Router IP Address In Linux.md @@ -1,52 +1,42 @@ [#]: collector: (lujun9972) [#]: translator: (warmfrog) -[#]: reviewer: ( ) +[#]: reviewer: (wxy) [#]: publisher: ( ) [#]: url: ( ) [#]: subject: (Four Methods To Check The Default Gateway Or Router IP Address In Linux?) [#]: via: (https://www.2daygeek.com/check-find-default-gateway-or-router-ip-address-in-linux/) [#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/) -在 Linux 中检查默认网关或者路由 IP 地址的四个方法? +4 种在 Linux 中检查默认网关或者路由器 IP 地址的方法 ============================================== -你应该意识到你的默认网关是你的路由器的 IP 地址。 +你应该意识到你的默认网关是你的路由器的 IP 地址。一般这是在安装过程中由操作系统自动检测的,如果没有,你可能需要改变它。如果你的系统不能 ping 自身,那么很可能是一个网关问题,你必须修复它。在网络中,当你有多个网络适配器或路由器时,这种情况可能会发生。 -典型地这是在安装过程中由操作系统自动检测的,如果没有,你可能需要改变它。 - -如果你的系统不能 ping 自身,那么很可能是一个网关问题,你必须修复它。 - -在网络中,当你有多个网络适配器或路由器时,这种情况可能会发生。 - -一个网关是一个路由器扮演着一个入口点角色,从一个网络传递网络数据到另一个网络。 - -下面是一些可能帮助你收集到的与该话题相似的一些信息。 - - * **[9 Methods To Check Your Public IP Address In Linux Command Line][1]** - * **[How To Enable (UP) And Disable (DOWN) A Network Interface Port (NIC) In Linux?][2]** +网关是一个扮演着入口点角色的路由器,可以从一个网络传递网络数据到另一个网络。 +下面是一些可能帮助你收集到与该话题相似的一些信息。 +* [在 Linux 命令行检查你的公网 IP 地址的 9 种方法][1] +* [如何在 Linux 启用和禁用网卡?][2] 这可以通过下面的四个命令完成。 -* **`route 命令`** route 命令被用来显示和操作 IP 路由表。 -* **`ip 命令:`** IP 命令类似于 ifconfig, 非常熟悉赋值静态 IP 地址,路由 & 默认网关,等等。 -* **`netstat 命令`** netstat (“network statistics”)是一个命令行工具来显示网络连接相关的信息(包括入口和出口的)例如路由表,伪装连接,多播成员和很多网络接口。 -* **`routel 命令`** routel 命令被用来以好看的输出格式列出路由。 - - +* `route` 命令:被用来显示和操作 IP 路由表。 +* `ip` 命令:类似于 `ifconfig`,常用于设置静态 IP 地址、路由 & 默认网关,等等。 +* `netstat` 命令:是一个命令行工具,用来显示网络连接相关的信息(包括入站和出站的),例如路由表、伪装连接、多播成员和网络接口。 +* `routel` 命令:被用来以好看的输出格式列出路由。 ### 1)在 Linux 中如何使用 route 命令检查默认的网关或者路由 IP 地址? -route 命令被用来显示和操作 IP 路由表。 +`route` 命令被用来显示和操作 IP 路由表。 它主要用于通过一个已经配置的接口给特定的主机或者网络设置静态的路由。 -当 add 或者 del 选项被使用时,route 修改路由表。没有这些选项,route 显示路由表的当前内容。 +当使用 `add` 或者 `del` 选项时,`route` 修改路由表。没有这些选项,`route` 显示路由表的当前内容。 ``` # route -or +或 # route -n Kernel IP routing table @@ -57,21 +47,21 @@ default www.routerlogin 0.0.0.0 UG 600 0 0 wlp8s0 ### 2)如何在 Linux 中使用 ip 命令检查默认网关或者路由 IP 地址? -**[IP 命令][3]** 相似于 ifconfig,非常熟悉配置静态 IP 地址,路由 & 默认网关,等等。 +[IP 命令][3] 类似于 `ifconfig`,常用于配置静态 IP 地址、路由 & 默认网关,等等。 -ifconfig 命令因为多年没有维持被遗弃了,即使它仍然在大多数 Linux 分发版上可获得。 +`ifconfig` 命令因为多年没有维护而被遗弃了,即使它仍然在大多数 Linux 发行版上可获得。 -ifconfig 命令已经被 IP 命令替代了,IP 命令是非常强大的,只要一个命令就能执行几个网络管理任务。 +`ifconfig` 命令已经被 `ip` 命令替代了,`ip` 命令是非常强大的,只要一个命令就能执行几个网络管理任务。 -IP 命令工具附带在 iproute2 包中。默认 iproute2 预安装在主要的 Linux 分发版中。 +`ip` 命令工具附带在 iproute2 包中。在主要的 Linux 发行版中都默认预装了 iproute2 。 -如果没有,你可以在你的终端中在包管理器的帮助下通过输入 iproute2 并安装它。 +如果没有,你可以在你的终端中在包管理器的帮助下通过指定 iproute2 来安装它。 ``` # ip r -or +或 # ip route -or +或 # ip route show default via 192.168.1.1 dev wlp8s0 proto dhcp metric 600 @@ -80,11 +70,11 @@ default via 192.168.1.1 dev wlp8s0 proto dhcp metric 600 ### 3)如何在 Linux 中使用 netstat 命令检查默认网关或者路由 IP 地址? -netstat 代表 Network Statistics,是一个命令行工具来显示网络连接相关的信息(包括入口和出口的)例如路由表,伪装连接,多播成员和很多网络接口。 +`netstat` 代表 Network Statistics,是一个用来显示网络连接相关的信息(包括入站和出站)的命令行工具,例如路由表、伪装连接,多播成员和网络接口。 -它列出所有的 tcp, udp 套接字连接和 unix 套接字连接。 +它列出所有的 tcp、udp 套接字连接和 unix 套接字连接。 -它在网络中被用来诊断网络问题并判断网络中的交通总量来作为性能测量指标。 +它在网络中被用来诊断网络问题并判断网络中的流量总量来作为性能测量指标。 ``` # netstat -r @@ -97,11 +87,11 @@ default www.routerlogin 0.0.0.0 UG 0 0 0 wlp8s0 ### 4)如何在 Linux 中使用 routel 命令检查默认网关或者路由 IP 地址? -它用来以好看的输出格式列出路由信息。这些程序是一系列你可以用来替代 iproute2 的帮助脚本。 +它用来以好看的输出格式列出路由信息。这些程序是一系列你可以用来替代 iproute2 的帮助脚本(`routel` 和 `routef`)。 -routel 脚本以一种被认为更容易解释并且等价于 route 输出列表的格式来输出路由信息。 +`routel` 脚本以一种被认为更容易解释并且等价于 `route` 输出列表的格式来输出路由信息。 -如果 routef 脚本不加任何参数,将仅仅简单的将路由表清空。小心!这意味着删除所有的路由,让你的网络不再可用。 +如果 `routef` 脚本不加任何参数,将仅仅简单的将路由表清空。小心!这意味着删除所有的路由,让你的网络不再可用。 ``` # routel @@ -137,7 +127,7 @@ via: https://www.2daygeek.com/check-find-default-gateway-or-router-ip-address-in 作者:[Magesh Maruthamuthu][a] 选题:[lujun9972][b] 译者:[warmfrog](https://github.com/warmfrog) -校对:[校对者ID](https://github.com/校对者ID) +校对:[wxy](https://github.com/wxy) 本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 From 100de97ce995b838d55fc638db47d4e375a36f68 Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Wed, 1 May 2019 00:44:15 +0800 Subject: [PATCH 12/12] PUB:20190423 Four Methods To Check The Default Gateway Or Router IP Address In Linux.md @warmfrog https://linux.cn/article-10800-1.html --- ...Check The Default Gateway Or Router IP Address In Linux.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename {translated/tech => published}/20190423 Four Methods To Check The Default Gateway Or Router IP Address In Linux.md (98%) diff --git a/translated/tech/20190423 Four Methods To Check The Default Gateway Or Router IP Address In Linux.md b/published/20190423 Four Methods To Check The Default Gateway Or Router IP Address In Linux.md similarity index 98% rename from translated/tech/20190423 Four Methods To Check The Default Gateway Or Router IP Address In Linux.md rename to published/20190423 Four Methods To Check The Default Gateway Or Router IP Address In Linux.md index bbdcb47d54..7f0f184e52 100644 --- a/translated/tech/20190423 Four Methods To Check The Default Gateway Or Router IP Address In Linux.md +++ b/published/20190423 Four Methods To Check The Default Gateway Or Router IP Address In Linux.md @@ -1,8 +1,8 @@ [#]: collector: (lujun9972) [#]: translator: (warmfrog) [#]: reviewer: (wxy) -[#]: publisher: ( ) -[#]: url: ( ) +[#]: publisher: (wxy) +[#]: url: (https://linux.cn/article-10800-1.html) [#]: subject: (Four Methods To Check The Default Gateway Or Router IP Address In Linux?) [#]: via: (https://www.2daygeek.com/check-find-default-gateway-or-router-ip-address-in-linux/) [#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)