Merge branch 'LCTT:master' into Transit

This commit is contained in:
Hacker 2021-06-25 09:03:01 +08:00 committed by GitHub
commit 2d4a542db8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 170 additions and 171 deletions

View File

@ -1,60 +0,0 @@
[#]: collector: (lujun9972)
[#]: translator: (baddate)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (Learn Bash with this book of puzzles)
[#]: via: (https://opensource.com/article/20/4/bash-it-out-book)
[#]: author: (Carlos Aguayo https://opensource.com/users/hwmaster1)
Learn Bash with this book of puzzles
======
'Bash it out' covers basic, medium, and advanced Bash scripting using 16
puzzles.
![Puzzle pieces coming together to form a computer screen][1]
Computers are both my hobby and my profession. I have about 10 of them scattered around my apartment, all running Linux (including my Macs). Since I enjoy upgrading my computers and my computer skills, when I came across [_Bash it out_][2] by Sylvain Leroux, I jumped on the chance to buy it. I use the command line a lot on Debian Linux, and it seemed like a great opportunity to expand my Bash knowledge. I smiled when the author explained in the preface that he uses Debian Linux, which is one of my two favorite distributions.
Bash lets you automate tasks, so it's a labor-saving, interesting, and useful tool. Before reading the book, I already had a fair amount of experience with Bash on Unix and Linux. I'm not an expert, in part because the scripting language is so extensive and powerful. I first became intrigued with Bash when I saw it on the welcome screen of [EndeavourOS][3], an Arch-based Linux distribution.
The following screenshots show some options from EndeavourOS. Beleieve it or not, these panels just point to Bash scripts, each of which accomplish some relatively complex tasks. And because it's all open source, I can modify any of these scripts if I want.
![EndeavourOS after install][4]
![EndeavourOS install apps][5]
### Always something to learn
My impressions of this book are very favorable. It's not long, but it is well-thought-out. The author has very extensive knowledge of Bash and an uncanny ability to explain how to use it. The book covers basic, medium, and advanced Bash scripting using 16 puzzles, which he calls "challenges." This taught me to see Bash scripting as a programming puzzle to solve, which makes it more interesting to play with.
An exciting aspect of Bash is that it's deeply integrated with the Linux system. While part of its power lies in its syntax, it's also powerful because it has access to so much. You can script repetitive tasks, or tasks that are easy but you're just tired of performing manually. Nothing is too great or too small, and _Bash it out_ helps you understand both what you can do, and how to achieve it.
This review would not be complete if I didn't mention David Both's free resource [_A sysadmin's guide to Bash scripting_][6] on Opensource.com. This 17-page PDF guide is different from _Bash it out_, but together they make a winning combination for anyone who wants to learn about it.
I am not a computer programmer, but _Bash it out_ has increased my desire to get into more advanced levels of Bash scripting—I might inadvertently end up as a computer programmer without planning to.
One reason I love Linux is because of how powerful and versatile the operating system is. However much I know about Linux, there is always something new to learn that makes me appreciate Linux even more.
In a competitive and ever-changing job market, it behooves all of us to continuously update our skills. This book helped me learn Bash in a very hands-on way. It almost felt as if the author was in the same room with me, patiently guiding me in my learning.
The author, Leroux, has an uncanny ability to engage readers. This is a rare gift that I think is even more valuable than his technical expertise. In fact, I am writing this book review to thank the author for anticipating my own learning needs; although we have never met, I have benefited in real ways from his gifts.
--------------------------------------------------------------------------------
via: https://opensource.com/article/20/4/bash-it-out-book
作者:[Carlos Aguayo][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://opensource.com/users/hwmaster1
[b]: https://github.com/lujun9972
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/puzzle_computer_solve_fix_tool.png?itok=U0pH1uwj (Puzzle pieces coming together to form a computer screen)
[2]: https://www.amazon.com/Bash-Out-Strengthen-challenges-difficulties/dp/1521773262/
[3]: https://endeavouros.com/
[4]: https://opensource.com/sites/default/files/uploads/endeavouros-welcome.png (EndeavourOS after install)
[5]: https://opensource.com/sites/default/files/uploads/endeavouros-install-apps.png (EndeavourOS install apps)
[6]: https://opensource.com/downloads/bash-scripting-ebook

View File

@ -1,110 +0,0 @@
[#]: subject: (KTorrent: An Incredibly Useful BitTorrent Application by KDE)
[#]: via: (https://itsfoss.com/ktorrent/)
[#]: author: (Ankush Das https://itsfoss.com/author/ankush/)
[#]: collector: (lujun9972)
[#]: translator: (geekpi)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
KTorrent: An Incredibly Useful BitTorrent Application by KDE
======
There are a variety of BitTorrent applications available for Linux. But finding a good application that offers many features should save you some time.
KTorrent by KDE is one such BitTorrent app built for Linux.
While there are [several torrent clients for Linux][1], I recently found KTorrent interesting for my use-case.
### KTorrent: Open Source BitTorrent Client for Linux
![][2]
KTorrent is a full-fledged torrent client primarily tailored for KDE desktop. It should work simply fine no matter what desktop environment you use.
Of course, with KDE desktop, you may get a seamless user experience.
Let us look at the all the features offered.
### Features of KTorrent
![][3]
For regular torrent users, having an extensive set of features makes things easy. And KTorrent is no exception. Here, Ill highlight the key highlights of KTorrent:
* Adding torrent downloads in a queue
* Ability to control the speed limits per download (or overall)
* Video and audio file preview option
* Supports importing of downloaded files (partial/full)
* Ability to prioritize torrent downloads when downloading multiple files
* Selection of specific files to download for multi-file torrents
* IP filter with the option of kicking/banning peers
* UDP tracker support
* µTorrent peer support
* Support for protocol encryption
* Ability to create trackerless torrent
* Scripting support
* System tray integration
* Connection through a proxy
* Added plugin support
* Supports IPv6
KTorrent sounds something useful as a torrent client that you can use daily with control to manage all your torrent downloads at one place.
![][4]
In addition to the features mentioned above, it offers great control over the behavior of the client as well. For instance, tweaking the color that indicates downloads/pause/trackers.
You also get the ability to set the notification if you want to disable the sound of completing a torrent download or getting notified of the activity.
![][5]
While features like protocol encryption support may not be able to replace some of the [best VPN][6] services, it is an important addition for desktop clients.
### Installing KTorrent in Linux
KTorrent should be available through your package managers like [Synaptic][7] or the default repositories. You can also find it listed in your software center for easy installation.
In addition to this, it also offers a [Flatpak][8] official package on [Flathub][9] for any Linux distribution. If you need help with that, we have a [Flatpak guide][10] for reference.
You can also try the [snap package][11] available if you prefer that.
To explore more about it and the source code, head to its [official KDE app page][12].
[KTorrent][12]
### Closing Thoughts
KTorrent is a phenomenal torrent client for Linux. I tried it on my Linux Mint system on top of Cinnamon desktop, and it worked great.
I like how simple, yet configurable it is. Even though I dont use a torrent client every day, I did not see anything weird with KTorrent in my brief testing.
What do you think about KTorrent as a torrent client for Linux? What do you prefer to use it instead?
--------------------------------------------------------------------------------
via: https://itsfoss.com/ktorrent/
作者:[Ankush Das][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/ankush/
[b]: https://github.com/lujun9972
[1]: https://itsfoss.com/best-torrent-ubuntu/
[2]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2021/06/ktorrent-download.png?resize=850%2C582&ssl=1
[3]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2021/06/ktorrent-configure.png?resize=850%2C656&ssl=1
[4]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2021/06/ktorrent-speed-limit.png?resize=850%2C585&ssl=1
[5]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2021/06/ktorrent-plugins.png?resize=850%2C643&ssl=1
[6]: https://itsfoss.com/best-vpn-linux/
[7]: https://itsfoss.com/synaptic-package-manager/
[8]: https://itsfoss.com/what-is-flatpak/
[9]: https://flathub.org/apps/details/org.kde.ktorrent
[10]: https://itsfoss.com/flatpak-guide/
[11]: https://snapcraft.io/ktorrent
[12]: https://apps.kde.org/ktorrent/

View File

@ -2,7 +2,7 @@
[#]: via: (https://fedoramagazine.org/python-3-10-beta-in-fedora-linux/)
[#]: author: (Miro Hrončok https://fedoramagazine.org/author/churchyard/)
[#]: collector: (lujun9972)
[#]: translator: ( )
[#]: translator: (geekpi)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )

View File

@ -0,0 +1,59 @@
[#]: collector: (lujun9972)
[#]: translator: (baddate)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (Learn Bash with this book of puzzles)
[#]: via: (https://opensource.com/article/20/4/bash-it-out-book)
[#]: author: (Carlos Aguayo https://opensource.com/users/hwmaster1)
用这本谜题书学习 Bash
======
>“Bash it out”使用 16 个谜题,涵盖了基本、中级和高级 Bash 脚本。
![Puzzle pieces coming together to form a computer screen][1]
计算机既是我的爱好,也是我的职业。我的公寓里散布着大约 10 个,它们都运行 Linux包括我的 Mac。由于我喜欢升级我的电脑和提升我的电脑技能当我遇到 Sylvain Leroux 的[_Bash it out_][2]时,我抓住了购买它的机会。我在 Debian Linux 上经常使用命令行,这似乎是扩展我的 Bash 知识的好机会。当作者在前言中解释他使用 Debian Linux 时,我笑了,这是我最喜欢的两个发行版之一。
Bash 可让你自动执行任务,因此它是一种省力、有趣且有用的工具。在阅读本书之前,我已经有相当多的 Unix 和 Linux 上的 Bash 经验。我不是专家,部分原因是脚本语言非常广泛和强大。当我在基于 Arch 的 Linux 发行版[EndeavourOS][3]的欢迎屏幕上看到 Bash 时,我第一次对 Bash 产生了兴趣。
以下屏幕截图显示了 EndeavourOS 的一些选项。不管你信不信,这些面板只指向 Bash 脚本,每个脚本都完成一些相对复杂的任务。而且因为它都是开源的,所以我可以根据需要修改这些脚本中的任何一个。
![EndeavourOS after install][4]
![EndeavourOS install apps][5]
### 总有东西要学
我对这本书的印象非常好。虽然不长,但经过了深思熟虑。作者对 Bash 有非常广泛的了解,并且具有解释如何使用它的不可思议的能力。这本书使用 16 个谜题涵盖了基本、中级和高级 Bash 脚本,他称之为“挑战”。这教会了我将 Bash 脚本视为需要解决的编程难题,这让我玩起来更有趣。
Bash 一个令人兴奋的方面是它与 Linux 系统深度集成。虽然它的部分能力在于它的语法,但它也很强大,因为它可以访问很多系统资源。你可以编写重复性任务或简单但厌倦了手动执行的任务的脚本。没有什么太大或太小的事,*Bash it out*可以帮助你了解可以做什么以及如何实现它。
如果我不提及 David Both 的免费资源[_A sysadmin's guide to Bash scripting_][6]on Opensource.com这篇评论就不会完整。这个 17 页的 PDF 指南与Bash it out不同但它们共同构成了任何想要了解它的人的成功组合。
我不是计算机程序员,但*Bash it out*增加了我进入更高级 Bash 脚本水平的欲望——虽然没有这个打算,但我可能最终无意中成为一名计算机程序员。
我喜欢 Linux 的原因之一是因为它的操作系统功能强大且用途广泛。无论我对 Linux 了解多少,总有一些新东西需要学习,这让我更加欣赏 Linux。
在竞争激烈且不断变化的就业市场中,我们所有人都应该不断更新我们的技能。这本书帮助我以非常实际的方式学习了 Bash。几乎感觉作者和我在同一个房间里耐心地指导我学习。
作者 Leroux 具有不可思议的能力去吸引读者。这是一份难得的天赋,我认为比他的技术专长更有价值。事实上,我写这篇书评是为了感谢作者预见了我自己的学习需求;虽然我们从未见过面,但我从他的天赋中受益匪浅。
--------------------------------------------------------------------------------
via: https://opensource.com/article/20/4/bash-it-out-book
作者:[Carlos Aguayo][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/baddates)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://opensource.com/users/hwmaster1
[b]: https://github.com/lujun9972
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/puzzle_computer_solve_fix_tool.png?itok=U0pH1uwj (Puzzle pieces coming together to form a computer screen)
[2]: https://www.amazon.com/Bash-Out-Strengthen-challenges-difficulties/dp/1521773262/
[3]: https://endeavouros.com/
[4]: https://opensource.com/sites/default/files/uploads/endeavouros-welcome.png (EndeavourOS after install)
[5]: https://opensource.com/sites/default/files/uploads/endeavouros-install-apps.png (EndeavourOS install apps)
[6]: https://opensource.com/downloads/bash-scripting-ebook

View File

@ -0,0 +1,110 @@
[#]: subject: (KTorrent: An Incredibly Useful BitTorrent Application by KDE)
[#]: via: (https://itsfoss.com/ktorrent/)
[#]: author: (Ankush Das https://itsfoss.com/author/ankush/)
[#]: collector: (lujun9972)
[#]: translator: (geekpi)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
KTorrentKDE 的一个非常有用的 BitTorrent 应用
======
Linux 中有各种各样的 BitTorrent 应用。但是,找到一个好的、提供许多功能的应用应该可以为你节省一些时间。
KDE 的 KTorrent 就是这样一个为 Linux 打造的 BitTorrent 应用。
虽然有 [Linux 有几个 torrent 客户端][1],但我最近发现 KTorrent 对我而言很有趣。
### KTorrent: 适用于 Linux 的开源 BitTorrent 客户端
![][2]
KTorrent 是一个成熟的 torrent 客户端,主要为 KDE 桌面定制。无论你使用什么桌面环境,它都能很好地工作。
当然使用KDE桌面你可以得到一个无缝的用户体验。
让我们来看看它的所有功能。
### KTorrent 的功能
![][3]
对于普通的 torrent 用户来说,拥有一套全面的功能使事情变得简单。而 KTorrent 也不例外。在这里,我将列出 KTorrent 的主要亮点:
* 在一个队列中添加 torrent 下载
* 能够控制每次下载(或整体)的速度限制
* 视频和音频文件预览选项
* 支持导入下载文件(部分/全部)。
* 在下载多个文件时,能够对 torrent 下载进行优先排序
* 为多文件 torrent 选择要下载的特定文件
* IP 过滤器,可选择踢走/禁止 peer。
* 支持 UDP 跟踪器
* 支持 µTorrent peer
* 支持协议加密
* 能够创建无 tracker 的 torrent
* 脚本支持
* 系统托盘集成
* 通过代理连接
* 增加了插件支持
* 支持 IPv6
KTorrent 听起来很有用,作为一个 torrent 客户端,你可以日常控制它在一个地方管理所有的 torrent 下载。
![][4]
除了上面提到的功能外,它还对客户端的行为提供了很大的控制。例如,调整指示下载/暂停/tracker 服务器的颜色。
如果你想禁用完成 torrent 下载的声音或得到活动通知,你还可以设置通知。
![][5]
虽然像协议加密支持这样的功能可能无法取代一些[最好的 VPN][6] 服务,但它对桌面客户端来说是一个重要的补充。
### 在 Linux 中安装 KTorrent
KTorrent 应该可以通过包管理器(如 [Synaptic][7])或默认的仓库获得。你也可以在你的软件中心找到它并轻松安装。
除此之外,它还在 [Flathub][9] 上提供了一个适用于任何 Linux 发行版的 [Flatpak][8] 官方包。如果你需要帮助,我们有一个 [Flatpak 指南][10]供参考。
如果你喜欢的话,你也可以尝试可用的 [snap包][11]。
要探索更多关于它和源码的信息,请前往它的[官方 KDE 应用页面][12]。
[KTorrent][12]
### 结束语
KTorrent 是 Linux 中一个出色的 torrent 客户端。我在我的 Linux Mint 系统的 Cinnamon 桌面上试用了它,它运行得很好。
我喜欢它的简单和可配置性。尽管我不是每天都在使用 torrent 客户端,但在我短暂的测试中,我没有发现 KTorrent 有什么奇怪的地方。
你认为 KTorrent 作为 Linux 的 torrent 客户端怎么样?你喜欢用什么呢?
--------------------------------------------------------------------------------
via: https://itsfoss.com/ktorrent/
作者:[Ankush Das][a]
选题:[lujun9972][b]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/ankush/
[b]: https://github.com/lujun9972
[1]: https://itsfoss.com/best-torrent-ubuntu/
[2]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2021/06/ktorrent-download.png?resize=850%2C582&ssl=1
[3]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2021/06/ktorrent-configure.png?resize=850%2C656&ssl=1
[4]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2021/06/ktorrent-speed-limit.png?resize=850%2C585&ssl=1
[5]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2021/06/ktorrent-plugins.png?resize=850%2C643&ssl=1
[6]: https://itsfoss.com/best-vpn-linux/
[7]: https://itsfoss.com/synaptic-package-manager/
[8]: https://itsfoss.com/what-is-flatpak/
[9]: https://flathub.org/apps/details/org.kde.ktorrent
[10]: https://itsfoss.com/flatpak-guide/
[11]: https://snapcraft.io/ktorrent
[12]: https://apps.kde.org/ktorrent/